ConcatToNew method

Map ConcatToNew(
  1. Map? other
)

Implementation

Map ConcatToNew(Map? other) {
  Map res = {};

  this.forEach((key, value) {
    res[key] = value;
  });

  other?.forEach((key, value) {
    res[key] = value;
  });

  return res;
}