messageFromMap function Null safety
- Map? map
Implementation
NIMMessage? messageFromMap(Map? map) =>
map == null ? null : NIMMessage.fromMap(map.cast<String, dynamic>());
NIMMessage? messageFromMap(Map? map) =>
map == null ? null : NIMMessage.fromMap(map.cast<String, dynamic>());