EntityUid class final

Unique ID for an entity, such as User::"alice".

Implemented types
Available extensions

Constructors

EntityUid(EntityTypeName type, EntityId id)
const
EntityUid.fromJson(Map<String, Object?> json)
factory
EntityUid.fromProto(EntityUid entityUid)
factory
EntityUid.of(String type, String id)
const
EntityUid.parse(String uid)
factory
EntityUid.unknown()
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
id → EntityId
final
normalized → EntityUid
Returns a normalized version of this entity ID.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → EntityTypeName
final
uid → EntityUid

Available on Component, provided by the ComponentUid extension

Returns the unique identifier for this component.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toExpr() → Expr
override
toJson() → Map<String, Object?>
toProto() → EntityUid
toString() → String
A string representation of this object.
override

Operators

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