TestParsingMerge_RepeatedFieldsGenerator constructor

Implementation

factory TestParsingMerge_RepeatedFieldsGenerator({
  $core.Iterable<TestAllTypes>? field1,
  $core.Iterable<TestAllTypes>? field2,
  $core.Iterable<TestAllTypes>? field3,
  $core.Iterable<TestParsingMerge_RepeatedFieldsGenerator_Group1>? group1,
  $core.Iterable<TestParsingMerge_RepeatedFieldsGenerator_Group2>? group2,
  $core.Iterable<TestAllTypes>? ext1,
  $core.Iterable<TestAllTypes>? ext2,
}) {
  final _result = create();
  if (field1 != null) {
    _result.field1.addAll(field1);
  }
  if (field2 != null) {
    _result.field2.addAll(field2);
  }
  if (field3 != null) {
    _result.field3.addAll(field3);
  }
  if (group1 != null) {
    _result.group1.addAll(group1);
  }
  if (group2 != null) {
    _result.group2.addAll(group2);
  }
  if (ext1 != null) {
    _result.ext1.addAll(ext1);
  }
  if (ext2 != null) {
    _result.ext2.addAll(ext2);
  }
  return _result;
}