Value class

A message that can hold any of the supported value types and associated metadata.


Value.fromJson(Map _json)


arrayValue ArrayValue
An array value. Cannot contain another array value. A Value instance that sets field array_value must not set fields meaning or exclude_from_indexes.
read / write
blobValue ↔ String
A blob value. May have at most 1,000,000 bytes. When exclude_from_indexes is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded.
read / write
blobValueAsBytes ↔ List<int>
read / write
booleanValue ↔ bool
A boolean value.
read / write
doubleValue ↔ double
A double value.
read / write
entityValue Entity
An entity value. [...]
read / write
excludeFromIndexes ↔ bool
If the value should be excluded from all indexes including those defined explicitly.
read / write
geoPointValue LatLng
A geo point value representing a point on the surface of Earth.
read / write
integerValue ↔ String
An integer value.
read / write
keyValue Key
A key value.
read / write
meaning ↔ int
The meaning field should only be populated for backwards compatibility.
read / write
nullValue ↔ String
A null value. Possible string values are: [...]
read / write
stringValue ↔ String
A UTF-8 encoded string value. When exclude_from_indexes is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
read / write
timestampValue ↔ String
A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
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


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


operator ==(dynamic other) → bool
The equality operator.