Value class

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

Constructors

Value()
Value.fromJson(Map _json)

Properties

arrayValue ArrayValue
An array value. Cannot directly contain another array value, though can contain an map which contains another array.
read / write
booleanValue bool
A boolean value.
read / write
bytesValue String
A bytes value. Must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes are considered by queries.
read / write
bytesValueAsBytes List<int>
read / write
doubleValue double
A double value.
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
mapValue MapValue
A map value.
read / write
nullValue String
A null value. Possible string values are: [...]
read / write
referenceValue String
A reference to a document. For example: projects/{project_id}/databases/{database_id}/documents/{document_path}.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringValue String
A string value. The string, represented as UTF-8, must not exceed 1 MiB - 89 bytes. Only the first 1,500 bytes of the UTF-8 representation are considered by queries.
read / write
timestampValue String
A timestamp value. Precise only to microseconds. When stored, 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