TestParsingMerge constructor
TestParsingMerge({
- TestAllTypes? requiredAllTypes,
- TestAllTypes? optionalAllTypes,
- Iterable<
TestAllTypes> ? repeatedAllTypes, - TestParsingMerge_OptionalGroup? optionalGroup,
- Iterable<
TestParsingMerge_RepeatedGroup> ? repeatedGroup,
Implementation
factory TestParsingMerge({
TestAllTypes? requiredAllTypes,
TestAllTypes? optionalAllTypes,
$core.Iterable<TestAllTypes>? repeatedAllTypes,
TestParsingMerge_OptionalGroup? optionalGroup,
$core.Iterable<TestParsingMerge_RepeatedGroup>? repeatedGroup,
}) {
final _result = create();
if (requiredAllTypes != null) {
_result.requiredAllTypes = requiredAllTypes;
}
if (optionalAllTypes != null) {
_result.optionalAllTypes = optionalAllTypes;
}
if (repeatedAllTypes != null) {
_result.repeatedAllTypes.addAll(repeatedAllTypes);
}
if (optionalGroup != null) {
_result.optionalGroup = optionalGroup;
}
if (repeatedGroup != null) {
_result.repeatedGroup.addAll(repeatedGroup);
}
return _result;
}