Mutation class
A mutation to apply to an entity.
Constructors
- Mutation()
- Mutation.fromJson(Map _json)
Properties
- baseVersion ↔ String
-
The version of the entity that this mutation is being applied to. If this
does not match the current version on the server, the mutation conflicts.
read / write
- delete ↔ Key
-
The key of the entity to delete. The entity may or may not already exist.
Must have a complete key path and must not be reserved/read-only.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- insert ↔ Entity
-
The entity to insert. The entity must not already exist. The entity key's
final path element may be incomplete.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- update ↔ Entity
-
The entity to update. The entity must already exist. Must have a complete
key path.
read / write
- upsert ↔ Entity
-
The entity to upsert. The entity may or may not already exist. The entity
key's final path element may be incomplete.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited