W3cubDocs

/Dart 2

identityHashCode function

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.

Implementation

external int identityHashCode(Object object);

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