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