TestParsingMergeLite constructor
TestParsingMergeLite({
- TestAllTypesLite? requiredAllTypes,
- TestAllTypesLite? optionalAllTypes,
- Iterable<
TestAllTypesLite> ? repeatedAllTypes, - TestParsingMergeLite_OptionalGroup? optionalGroup,
- Iterable<
TestParsingMergeLite_RepeatedGroup> ? repeatedGroup,
Implementation
factory TestParsingMergeLite({
TestAllTypesLite? requiredAllTypes,
TestAllTypesLite? optionalAllTypes,
$core.Iterable<TestAllTypesLite>? repeatedAllTypes,
TestParsingMergeLite_OptionalGroup? optionalGroup,
$core.Iterable<TestParsingMergeLite_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;
}