TestEnumMap constructor
TestEnumMap({
- Map<
int, Proto2MapEnum> ? knownMapField, - Map<
int, Proto2MapEnum> ? unknownMapField,
Implementation
factory TestEnumMap({
$core.Map<$core.int, Proto2MapEnum>? knownMapField,
$core.Map<$core.int, Proto2MapEnum>? unknownMapField,
}) {
final _result = create();
if (knownMapField != null) {
_result.knownMapField.addAll(knownMapField);
}
if (unknownMapField != null) {
_result.unknownMapField.addAll(unknownMapField);
}
return _result;
}