Literal constructor

Literal({
  1. NullValue? nullValue,
  2. bool? boolValue,
  3. Int64? int64Value,
  4. Int64? uint64Value,
  5. double? doubleValue,
  6. String? stringValue,
  7. List<int>? bytesValue,
})

Implementation

factory Literal({
  $1.NullValue? nullValue,
  $core.bool? boolValue,
  $fixnum.Int64? int64Value,
  $fixnum.Int64? uint64Value,
  $core.double? doubleValue,
  $core.String? stringValue,
  $core.List<$core.int>? bytesValue,
}) {
  final result = create();
  if (nullValue != null) result.nullValue = nullValue;
  if (boolValue != null) result.boolValue = boolValue;
  if (int64Value != null) result.int64Value = int64Value;
  if (uint64Value != null) result.uint64Value = uint64Value;
  if (doubleValue != null) result.doubleValue = doubleValue;
  if (stringValue != null) result.stringValue = stringValue;
  if (bytesValue != null) result.bytesValue = bytesValue;
  return result;
}