copyFrom method

void copyFrom(
  1. AbsModel src, {
  2. String? newMid,
})

Implementation

void copyFrom(AbsModel src, {String? newMid}) {
  _map.clear();
  _map.addAll(src.getValueMap);
  _map['mid'] = newMid ?? genMid2(type);
}