IdUid class

IdUid represents a compound of an ID, which is locally unique, i.e. inside an entity, and a UID, which is globally unique, i.e. for the entire model. It is serialized as two numerical values concatenated using a colon (:). See the documentation for more information on

Constructors

IdUid(int newId, int newUid)
IdUid.empty()
IdUid.fromString(String str)

Properties

id ↔ int
read / write
uid ↔ int
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited