TestMaps constructor

TestMaps({
  1. Map<int, TestIntIntMap>? mInt32,
  2. Map<Int64, TestIntIntMap>? mInt64,
  3. Map<int, TestIntIntMap>? mUint32,
  4. Map<Int64, TestIntIntMap>? mUint64,
  5. Map<int, TestIntIntMap>? mSint32,
  6. Map<Int64, TestIntIntMap>? mSint64,
  7. Map<int, TestIntIntMap>? mFixed32,
  8. Map<Int64, TestIntIntMap>? mFixed64,
  9. Map<int, TestIntIntMap>? mSfixed32,
  10. Map<Int64, TestIntIntMap>? mSfixed64,
  11. Map<bool, TestIntIntMap>? mBool,
  12. Map<String, TestIntIntMap>? mString,
})

Implementation

factory TestMaps({
  $core.Map<$core.int, TestIntIntMap>? mInt32,
  $core.Map<$fixnum.Int64, TestIntIntMap>? mInt64,
  $core.Map<$core.int, TestIntIntMap>? mUint32,
  $core.Map<$fixnum.Int64, TestIntIntMap>? mUint64,
  $core.Map<$core.int, TestIntIntMap>? mSint32,
  $core.Map<$fixnum.Int64, TestIntIntMap>? mSint64,
  $core.Map<$core.int, TestIntIntMap>? mFixed32,
  $core.Map<$fixnum.Int64, TestIntIntMap>? mFixed64,
  $core.Map<$core.int, TestIntIntMap>? mSfixed32,
  $core.Map<$fixnum.Int64, TestIntIntMap>? mSfixed64,
  $core.Map<$core.bool, TestIntIntMap>? mBool,
  $core.Map<$core.String, TestIntIntMap>? mString,
}) {
  final _result = create();
  if (mInt32 != null) {
    _result.mInt32.addAll(mInt32);
  }
  if (mInt64 != null) {
    _result.mInt64.addAll(mInt64);
  }
  if (mUint32 != null) {
    _result.mUint32.addAll(mUint32);
  }
  if (mUint64 != null) {
    _result.mUint64.addAll(mUint64);
  }
  if (mSint32 != null) {
    _result.mSint32.addAll(mSint32);
  }
  if (mSint64 != null) {
    _result.mSint64.addAll(mSint64);
  }
  if (mFixed32 != null) {
    _result.mFixed32.addAll(mFixed32);
  }
  if (mFixed64 != null) {
    _result.mFixed64.addAll(mFixed64);
  }
  if (mSfixed32 != null) {
    _result.mSfixed32.addAll(mSfixed32);
  }
  if (mSfixed64 != null) {
    _result.mSfixed64.addAll(mSfixed64);
  }
  if (mBool != null) {
    _result.mBool.addAll(mBool);
  }
  if (mString != null) {
    _result.mString.addAll(mString);
  }
  return _result;
}