Checks if this type is a subtype of other.
other
bool isSubtypeOf(RuntimeType other, {Object? value});