Value constructor

Value({
  1. NullValue? nullValue,
  2. double? doubleValue,
  3. Int64? integerValue,
  4. String? stringValue,
  5. bool? boolValue,
  6. Struct? structValue,
  7. ListValue? listValue,
})

Implementation

factory Value({
  NullValue? nullValue,
  $core.double? doubleValue,
  $fixnum.Int64? integerValue,
  $core.String? stringValue,
  $core.bool? boolValue,
  Struct? structValue,
  ListValue? listValue,
}) {
  final $result = create();
  if (nullValue != null) {
    $result.nullValue = nullValue;
  }
  if (doubleValue != null) {
    $result.doubleValue = doubleValue;
  }
  if (integerValue != null) {
    $result.integerValue = integerValue;
  }
  if (stringValue != null) {
    $result.stringValue = stringValue;
  }
  if (boolValue != null) {
    $result.boolValue = boolValue;
  }
  if (structValue != null) {
    $result.structValue = structValue;
  }
  if (listValue != null) {
    $result.listValue = listValue;
  }
  return $result;
}