Entity class Null safety

A Datastore data object.

An entity is limited to 1 megabyte when stored. That roughly corresponds to a limit of 1 megabyte for the serialized form of this message.

Constructors

Entity({Key? key, Map<String, Value>? properties})
Entity.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
key Key?
The entity's key.
read / write
properties Map<String, Value>?
The entity's properties.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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