AnyValue constructor
AnyValue({
- String? stringValue,
- bool? boolValue,
- Int64? intValue,
- double? doubleValue,
- ArrayValue? arrayValue,
- KeyValueList? kvlistValue,
- List<
int> ? bytesValue,
Implementation
factory AnyValue({
$core.String? stringValue,
$core.bool? boolValue,
$fixnum.Int64? intValue,
$core.double? doubleValue,
ArrayValue? arrayValue,
KeyValueList? kvlistValue,
$core.List<$core.int>? bytesValue,
}) {
final result = create();
if (stringValue != null) result.stringValue = stringValue;
if (boolValue != null) result.boolValue = boolValue;
if (intValue != null) result.intValue = intValue;
if (doubleValue != null) result.doubleValue = doubleValue;
if (arrayValue != null) result.arrayValue = arrayValue;
if (kvlistValue != null) result.kvlistValue = kvlistValue;
if (bytesValue != null) result.bytesValue = bytesValue;
return result;
}