EntityResult class

The result of fetching an entity from Datastore.


EntityResult.fromJson(Map _json)


cursor String
A cursor that points to the position after the result entity. Set only when the EntityResult is part of a QueryResultBatch message.
read / write
cursorAsBytes List<int>
read / write
entity Entity
The resulting entity.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
version String
The version of the entity, a strictly positive number that monotonically increases with changes to the entity. This field is set for FULL entity results. For missing entities in LookupResponse, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]