containsInstance method

bool containsInstance(
  1. Object instance
)

Whether instance is contained in this manager.

Implementation

bool containsInstance(Object instance) {
  if (instance is num || instance is bool || instance is String) return false;
  return _instanceIds[instance] != null;
}