Value constructor
Value({
- String? stringValue,
- int? uint32Value,
- Int64? uint64Value,
- int? int32Value,
- Int64? int64Value,
- double? floatValue,
- double? doubleValue,
- bool? boolValue,
- List<
int> ? bytesValue, - ListString? listStringValue,
- ListInt32? listInt32Value,
- ListInt64? listInt64Value,
- ListuInt32? listuInt32Value,
- ListuInt64? listuInt64Value,
- ListFloat? listFloatValue,
- ListDouble? listDoubleValue,
- ListBool? listBoolValue,
- ListBytes? listBytesValue,
Implementation
factory Value({
$core.String? stringValue,
$core.int? uint32Value,
$fixnum.Int64? uint64Value,
$core.int? int32Value,
$fixnum.Int64? int64Value,
$core.double? floatValue,
$core.double? doubleValue,
$core.bool? boolValue,
$core.List<$core.int>? bytesValue,
ListString? listStringValue,
ListInt32? listInt32Value,
ListInt64? listInt64Value,
ListuInt32? listuInt32Value,
ListuInt64? listuInt64Value,
ListFloat? listFloatValue,
ListDouble? listDoubleValue,
ListBool? listBoolValue,
ListBytes? listBytesValue,
}) {
final $result = create();
if (stringValue != null) {
$result.stringValue = stringValue;
}
if (uint32Value != null) {
$result.uint32Value = uint32Value;
}
if (uint64Value != null) {
$result.uint64Value = uint64Value;
}
if (int32Value != null) {
$result.int32Value = int32Value;
}
if (int64Value != null) {
$result.int64Value = int64Value;
}
if (floatValue != null) {
$result.floatValue = floatValue;
}
if (doubleValue != null) {
$result.doubleValue = doubleValue;
}
if (boolValue != null) {
$result.boolValue = boolValue;
}
if (bytesValue != null) {
$result.bytesValue = bytesValue;
}
if (listStringValue != null) {
$result.listStringValue = listStringValue;
}
if (listInt32Value != null) {
$result.listInt32Value = listInt32Value;
}
if (listInt64Value != null) {
$result.listInt64Value = listInt64Value;
}
if (listuInt32Value != null) {
$result.listuInt32Value = listuInt32Value;
}
if (listuInt64Value != null) {
$result.listuInt64Value = listuInt64Value;
}
if (listFloatValue != null) {
$result.listFloatValue = listFloatValue;
}
if (listDoubleValue != null) {
$result.listDoubleValue = listDoubleValue;
}
if (listBoolValue != null) {
$result.listBoolValue = listBoolValue;
}
if (listBytesValue != null) {
$result.listBytesValue = listBytesValue;
}
return $result;
}