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 id, int uid)
const
IdUid.empty()
const
IdUid.fromString(String? str)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → int
final
isEmpty → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uid → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited