isInstance method
Determines whether the argument is an instance of T
.
Use isDefaultValue to check whether something is a default value of this kind.
Implementation
@override
bool isInstance(Object? instance) {
return wrappedKind.isInstance(instance);
}