shortHash function
- Object? object
Returns a 5 character long hexadecimal string generated from Object.hashCode's 20 least-significant bits.
Implementation
String shortHash(Object? object) {
return object.hashCode.toUnsigned(20).toRadixString(16).padLeft(5, '0');
}