isSubtypeOf method
Checks if this type is a subtype of other.
Implementation
@override
bool isSubtypeOf(RuntimeType other, {Object? value}) {
if (other is NullableRuntimeType) {
return _runtimeTypeCompatible(inner, other.inner);
}
return _isWildcardTypeName(other.name);
}