Value class

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

Constructors

Value()
Value.fromJson(Map _json)

Properties

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. - May have no key. - May have a key with an incomplete key path. - May have a reserved/read-only key.
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
hashCode int
The hash code for this object. [...]
read-only, inherited
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
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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 most 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

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