isSubKind method
Tells whether the argument is instance of Kind<T>
and dartType
values are different.
Implementation
bool isSubKind(Kind other, {bool andNotEqual = true}) {
return other is Kind<T> &&
(!andNotEqual || !other.isSubKind(this, andNotEqual: false));
}