TestEnumMapLite constructor

TestEnumMapLite({
  1. Map<int, Proto2MapEnumLite>? knownMapField,
  2. Map<int, Proto2MapEnumLite>? unknownMapField,
})

Implementation

factory TestEnumMapLite({
  $core.Map<$core.int, Proto2MapEnumLite>? knownMapField,
  $core.Map<$core.int, Proto2MapEnumLite>? unknownMapField,
}) {
  final _result = create();
  if (knownMapField != null) {
    _result.knownMapField.addAll(knownMapField);
  }
  if (unknownMapField != null) {
    _result.unknownMapField.addAll(unknownMapField);
  }
  return _result;
}