TestNestedMessageHasBits_NestedMessage constructor

TestNestedMessageHasBits_NestedMessage({
  1. Iterable<int>? nestedmessageRepeatedInt32,
  2. Iterable<ForeignMessage>? nestedmessageRepeatedForeignmessage,
})

Implementation

factory TestNestedMessageHasBits_NestedMessage({
  $core.Iterable<$core.int>? nestedmessageRepeatedInt32,
  $core.Iterable<ForeignMessage>? nestedmessageRepeatedForeignmessage,
}) {
  final _result = create();
  if (nestedmessageRepeatedInt32 != null) {
    _result.nestedmessageRepeatedInt32.addAll(nestedmessageRepeatedInt32);
  }
  if (nestedmessageRepeatedForeignmessage != null) {
    _result.nestedmessageRepeatedForeignmessage.addAll(nestedmessageRepeatedForeignmessage);
  }
  return _result;
}