Id class

Human friendly hash string

Constructors

Id(int value, {int minLength = 4, int zero = 0x11111})
create from integer value. Use to encode int
Id.fromString(String string, {int minLength = 4, int zero = 0x11111})
create from string value. Use to decode hash.

Properties

hashCode int
The hash code for this object.
no setteroverride
minLength int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
getter/setter pair
zero int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
return hash representation
override

Operators

operator ==(Object o) bool
The equality operator.
override