identityHashCode function

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);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-core/identityHashCode.html