EntityResult class Null safety

The result of fetching an entity from Datastore.

Constructors

EntityResult({String? createTime, String? cursor, Entity? entity, String? updateTime, String? version})
EntityResult.fromJson(Map json_)

Properties

createTime String?
The time at which the entity was created.
read / write
cursor String?
A cursor that points to the position after the result entity.
read / write
cursorAsBytes List<int>
read / write
entity Entity?
The resulting entity.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
updateTime String?
The time at which the entity was last changed.
read / write
version String?
The version of the entity, a strictly positive number that monotonically increases with changes to the entity.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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