TestArenaMap constructor
TestArenaMap({
- Map<
int, int> ? mapInt32Int32, - Map<
Int64, Int64> ? mapInt64Int64, - Map<
int, int> ? mapUint32Uint32, - Map<
Int64, Int64> ? mapUint64Uint64, - Map<
int, int> ? mapSint32Sint32, - Map<
Int64, Int64> ? mapSint64Sint64, - Map<
int, int> ? mapFixed32Fixed32, - Map<
Int64, Int64> ? mapFixed64Fixed64, - Map<
int, int> ? mapSfixed32Sfixed32, - Map<
Int64, Int64> ? mapSfixed64Sfixed64, - Map<
int, double> ? mapInt32Float, - Map<
int, double> ? mapInt32Double, - Map<
bool, bool> ? mapBoolBool, - Map<
String, String> ? mapStringString, - Map<
int, List< ? mapInt32Bytes,int> > - Map<
int, MapEnum> ? mapInt32Enum, - Map<
int, ForeignMessage> ? mapInt32ForeignMessage,
Implementation
factory TestArenaMap({
$core.Map<$core.int, $core.int>? mapInt32Int32,
$core.Map<$fixnum.Int64, $fixnum.Int64>? mapInt64Int64,
$core.Map<$core.int, $core.int>? mapUint32Uint32,
$core.Map<$fixnum.Int64, $fixnum.Int64>? mapUint64Uint64,
$core.Map<$core.int, $core.int>? mapSint32Sint32,
$core.Map<$fixnum.Int64, $fixnum.Int64>? mapSint64Sint64,
$core.Map<$core.int, $core.int>? mapFixed32Fixed32,
$core.Map<$fixnum.Int64, $fixnum.Int64>? mapFixed64Fixed64,
$core.Map<$core.int, $core.int>? mapSfixed32Sfixed32,
$core.Map<$fixnum.Int64, $fixnum.Int64>? mapSfixed64Sfixed64,
$core.Map<$core.int, $core.double>? mapInt32Float,
$core.Map<$core.int, $core.double>? mapInt32Double,
$core.Map<$core.bool, $core.bool>? mapBoolBool,
$core.Map<$core.String, $core.String>? mapStringString,
$core.Map<$core.int, $core.List<$core.int>>? mapInt32Bytes,
$core.Map<$core.int, MapEnum>? mapInt32Enum,
$core.Map<$core.int, $0.ForeignMessage>? mapInt32ForeignMessage,
}) {
final _result = create();
if (mapInt32Int32 != null) {
_result.mapInt32Int32.addAll(mapInt32Int32);
}
if (mapInt64Int64 != null) {
_result.mapInt64Int64.addAll(mapInt64Int64);
}
if (mapUint32Uint32 != null) {
_result.mapUint32Uint32.addAll(mapUint32Uint32);
}
if (mapUint64Uint64 != null) {
_result.mapUint64Uint64.addAll(mapUint64Uint64);
}
if (mapSint32Sint32 != null) {
_result.mapSint32Sint32.addAll(mapSint32Sint32);
}
if (mapSint64Sint64 != null) {
_result.mapSint64Sint64.addAll(mapSint64Sint64);
}
if (mapFixed32Fixed32 != null) {
_result.mapFixed32Fixed32.addAll(mapFixed32Fixed32);
}
if (mapFixed64Fixed64 != null) {
_result.mapFixed64Fixed64.addAll(mapFixed64Fixed64);
}
if (mapSfixed32Sfixed32 != null) {
_result.mapSfixed32Sfixed32.addAll(mapSfixed32Sfixed32);
}
if (mapSfixed64Sfixed64 != null) {
_result.mapSfixed64Sfixed64.addAll(mapSfixed64Sfixed64);
}
if (mapInt32Float != null) {
_result.mapInt32Float.addAll(mapInt32Float);
}
if (mapInt32Double != null) {
_result.mapInt32Double.addAll(mapInt32Double);
}
if (mapBoolBool != null) {
_result.mapBoolBool.addAll(mapBoolBool);
}
if (mapStringString != null) {
_result.mapStringString.addAll(mapStringString);
}
if (mapInt32Bytes != null) {
_result.mapInt32Bytes.addAll(mapInt32Bytes);
}
if (mapInt32Enum != null) {
_result.mapInt32Enum.addAll(mapInt32Enum);
}
if (mapInt32ForeignMessage != null) {
_result.mapInt32ForeignMessage.addAll(mapInt32ForeignMessage);
}
return _result;
}