Key class
A unique identifier for an entity.
If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.
Constructors
-
Key({PartitionId? partitionId, List<
PathElement> ? path}) - Key.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- partitionId ↔ PartitionId?
-
Entities are partitioned into subsets, currently identified by a project
ID and namespace ID.
getter/setter pair
-
path
↔ List<
PathElement> ? -
The entity path.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited