Value constructor

Value({
  1. String? stringValue,
  2. Int64? intValue,
  3. double? doubleValue,
  4. bool? boolValue,
  5. List<int>? bytesValue,
})

Implementation

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