handleSetMessageMap method
dynamic
handleSetMessageMap(
- dynamic messageInfo
Implementation
handleSetMessageMap(messageInfo) {
String id = (currentTimeMillis()).toString();
messageInfo["id"] = id;
Map<String, dynamic> resultMap = {"messageInfo": messageInfo, "id": id};
messageIDMap[id] = resultMap;
return resultMap;
}