int identityHashCode(
Object object
)

Returns the identity hash code of object.

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

This hash code is compatible with identical.

Source

/**
 * Returns the identity hash code of `object`.
 *
 * Returns the same value as `object.hashCode` if [object] has not overridden
 * [Object.hashCode]. Returns the value that [Object.hashCode] would return
 * on this object, even if `hashCode` has been overridden.
 *
 * This hash code is compatible with [identical].
 */
external int identityHashCode(Object object);