shortHash function

String shortHash(
  1. Object? object
)

Object.hashCode's 20 least-significant bits.

Implementation

String shortHash(Object? object) {
  return object.hashCode.toUnsigned(20).toRadixString(16).padLeft(5, '0');
}