Value constructor

Value({
  1. bool? booleanValue,
  2. Int64? integerValue,
  3. double? doubleValue,
  4. String? referenceValue,
  5. MapValue? mapValue,
  6. LatLng? geoPointValue,
  7. ArrayValue? arrayValue,
  8. Timestamp? timestampValue,
  9. NullValue? nullValue,
  10. String? stringValue,
  11. List<int>? bytesValue,
})

Implementation

factory Value({
  $core.bool? booleanValue,
  $fixnum.Int64? integerValue,
  $core.double? doubleValue,
  $core.String? referenceValue,
  MapValue? mapValue,
  $1.LatLng? geoPointValue,
  ArrayValue? arrayValue,
  $0.Timestamp? timestampValue,
  $2.NullValue? nullValue,
  $core.String? stringValue,
  $core.List<$core.int>? bytesValue,
}) {
  final _result = create();
  if (booleanValue != null) {
    _result.booleanValue = booleanValue;
  }
  if (integerValue != null) {
    _result.integerValue = integerValue;
  }
  if (doubleValue != null) {
    _result.doubleValue = doubleValue;
  }
  if (referenceValue != null) {
    _result.referenceValue = referenceValue;
  }
  if (mapValue != null) {
    _result.mapValue = mapValue;
  }
  if (geoPointValue != null) {
    _result.geoPointValue = geoPointValue;
  }
  if (arrayValue != null) {
    _result.arrayValue = arrayValue;
  }
  if (timestampValue != null) {
    _result.timestampValue = timestampValue;
  }
  if (nullValue != null) {
    _result.nullValue = nullValue;
  }
  if (stringValue != null) {
    _result.stringValue = stringValue;
  }
  if (bytesValue != null) {
    _result.bytesValue = bytesValue;
  }
  return _result;
}