getInstanceId method

String? getInstanceId(
  1. Object instance
)

Retrieve the instanceId paired with object.

Returns null if this instance is not paired.

Implementation

String? getInstanceId(Object instance) {
  if (containsInstance(instance)) return _instanceIds[instance] as String?;
  return null;
}