TestHugeFieldNumbers constructor
TestHugeFieldNumbers({
- int? optionalInt32,
- int? fixed32,
- Iterable<
int> ? repeatedInt32, - Iterable<
int> ? packedInt32, - ForeignEnum? optionalEnum,
- String? optionalString,
- List<
int> ? optionalBytes, - ForeignMessage? optionalMessage,
- TestHugeFieldNumbers_OptionalGroup? optionalGroup,
- Map<
String, String> ? stringStringMap, - int? oneofUint32,
- TestAllTypes? oneofTestAllTypes,
- String? oneofString,
- List<
int> ? oneofBytes,
Implementation
factory TestHugeFieldNumbers({
$core.int? optionalInt32,
$core.int? fixed32,
$core.Iterable<$core.int>? repeatedInt32,
$core.Iterable<$core.int>? packedInt32,
ForeignEnum? optionalEnum,
$core.String? optionalString,
$core.List<$core.int>? optionalBytes,
ForeignMessage? optionalMessage,
TestHugeFieldNumbers_OptionalGroup? optionalGroup,
$core.Map<$core.String, $core.String>? stringStringMap,
$core.int? oneofUint32,
TestAllTypes? oneofTestAllTypes,
$core.String? oneofString,
$core.List<$core.int>? oneofBytes,
}) {
final _result = create();
if (optionalInt32 != null) {
_result.optionalInt32 = optionalInt32;
}
if (fixed32 != null) {
_result.fixed32 = fixed32;
}
if (repeatedInt32 != null) {
_result.repeatedInt32.addAll(repeatedInt32);
}
if (packedInt32 != null) {
_result.packedInt32.addAll(packedInt32);
}
if (optionalEnum != null) {
_result.optionalEnum = optionalEnum;
}
if (optionalString != null) {
_result.optionalString = optionalString;
}
if (optionalBytes != null) {
_result.optionalBytes = optionalBytes;
}
if (optionalMessage != null) {
_result.optionalMessage = optionalMessage;
}
if (optionalGroup != null) {
_result.optionalGroup = optionalGroup;
}
if (stringStringMap != null) {
_result.stringStringMap.addAll(stringStringMap);
}
if (oneofUint32 != null) {
_result.oneofUint32 = oneofUint32;
}
if (oneofTestAllTypes != null) {
_result.oneofTestAllTypes = oneofTestAllTypes;
}
if (oneofString != null) {
_result.oneofString = oneofString;
}
if (oneofBytes != null) {
_result.oneofBytes = oneofBytes;
}
return _result;
}