Is there a Dart equivalent syntax for C #'s ability to specify type restrictions for a generic type, for example. in C # type syntax where TBase is SomeType :
class StackPanel<TBase> extends Panel<TBase> where TBase : SomeType{ }
generics c # dart constraints
0xor1
source share