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