Value class

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

Constructors

Value({ArrayValue? arrayValue, bool? booleanValue, String? bytesValue, double? doubleValue, LatLng? geoPointValue, String? integerValue, MapValue? mapValue, String? nullValue, String? referenceValue, String? stringValue, String? timestampValue})
Value.fromJson(Map _json)

Properties

arrayValue ArrayValue?
An array value.
getter/setter pair
booleanValue bool?
A boolean value.
getter/setter pair
bytesValue String?
A bytes value.
getter/setter pair
bytesValueAsBytes List<int>
getter/setter pair
doubleValue double?
A double value.
getter/setter pair
geoPointValue LatLng?
A geo point value representing a point on the surface of Earth.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
integerValue String?
An integer value.
getter/setter pair
mapValue MapValue?
A map value.
getter/setter pair
nullValue String?
A null value. Possible string values are:
getter/setter pair
referenceValue String?
A reference to a document.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringValue String?
A string value.
getter/setter pair
timestampValue String?
A timestamp value.
getter/setter pair

Methods

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