Value constructor
Value({})
Implementation
factory Value({
$core.int? integer32Value,
$fixnum.Int64? integer64Value,
$core.bool? booleanValue,
$core.String? stringValue,
$core.double? doubleValue,
NullValue? nullValue,
ArrayValue? arrayValue,
MapValue? mapValue,
ObjectId? objectIdValue,
Timestamp? timestampValue,
}) {
final _result = create();
if (integer32Value != null) {
_result.integer32Value = integer32Value;
}
if (integer64Value != null) {
_result.integer64Value = integer64Value;
}
if (booleanValue != null) {
_result.booleanValue = booleanValue;
}
if (stringValue != null) {
_result.stringValue = stringValue;
}
if (doubleValue != null) {
_result.doubleValue = doubleValue;
}
if (nullValue != null) {
_result.nullValue = nullValue;
}
if (arrayValue != null) {
_result.arrayValue = arrayValue;
}
if (mapValue != null) {
_result.mapValue = mapValue;
}
if (objectIdValue != null) {
_result.objectIdValue = objectIdValue;
}
if (timestampValue != null) {
_result.timestampValue = timestampValue;
}
return _result;
}