ZIMMultipleMessage.fromMap constructor

ZIMMultipleMessage.fromMap(
  1. Map map
)

Implementation

ZIMMultipleMessage.fromMap(Map<dynamic, dynamic> map)
    : messageInfoList = ((map['messageInfoList']!) as List)
          .map<ZIMMessageLiteInfo>(
            (item) => ZIMDataUtils.parseZIMMessageLiteInfoFromMap(item),
          )
          .toList(),
      failedIndexList = ((map['failedIndexList']!) as List)
          .map<int>((item) => item as int)
          .toList(),
      super.fromMap(map);