identityHashCode function Null safety

int identityHashCode (
  1. Object? object
)

The identity hash code of object.

Returns the value that the original Object.hashCode would return on this object, even if hashCode has been overridden.

This hash code is compatible with identical, which just means that it's guaranteed to be stable over time.

Implementation

@pragma("vm:entry-point")
external int identityHashCode(Object? object);