isInstance<T> static method
Implementation
static bool isInstance<T>(dynamic value, T instance) {
return value != null && value.runtimeType == instance.runtimeType;
}
static bool isInstance<T>(dynamic value, T instance) {
return value != null && value.runtimeType == instance.runtimeType;
}