Dart, constraints on Generics?
Is there a Dart equivalent syntax to the c# ability to specify type
constraints on a generic type, e.g. in C#-like syntax where TBase is
SomeType:
class StackPanel<TBase> extends Panel<TBase> where TBase : SomeType{
}
No comments:
Post a Comment