Value class Null safety

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


Value({ArrayValue? arrayValue, String? blobValue, bool? booleanValue, double? doubleValue, Entity? entityValue, bool? excludeFromIndexes, LatLng? geoPointValue, String? integerValue, Key? keyValue, int? meaning, String? nullValue, String? stringValue, String? timestampValue})
Value.fromJson(Map json_)


arrayValue ArrayValue?
An array value.
read / write
blobValue String?
A blob value.
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
hashCode int
The hash code for this object.
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.
stringValue String?
A UTF-8 encoded string value.
read / write
timestampValue String?
A timestamp value.
read / write


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


operator ==(Object other) bool
The equality operator.