ItemId class
Identifies a unique item within a collection.
Every item in WorkDB is uniquely identified by the combination of its collection name and its id within that collection.
Constructors
Properties
- collection → String
-
The name of the collection containing this item.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The unique identifier of the item within its collection.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? id, String? collection}) → ItemId - Creates a copy of this ItemId with optionally modified fields.
-
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.
override