isObjectOrNull<T> function

bool isObjectOrNull<T>()

Implementation

bool isObjectOrNull<T>() {
  return T == Object || T == typeDef<Object?>();
}