UniqueEntity class final
An Entity identified by a 128-bit RFC 4122 v4 uuid. Equality always
consults the UUID, so id collisions with other entities (32-bit hash
space) are harmless. Sendable across isolates: the UUID survives a
SendPort round trip and the receiving instance compares equal to the
original.
- Inheritance
- Implemented types
Constructors
- UniqueEntity()
-
factory
Properties
Methods
-
isDefault(
) → bool -
inherited
-
isNotDefault(
) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
preferOverDefault(
Entity other) → Entity -
Returns
otherifthisis DefaultEntity, otherwise returnsthis.inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override