isInstance abstract method
Checks if an object is an instance of this class.
Parameters:
obj: The object to check
Returns:
trueif obj is non-null and an instance of Tfalseotherwise
Example:
Class.forType<String>().isInstance('hello'); // true
Implementation
bool isInstance(Object? obj);