parseMessageFromData function Null safety
Implementation
BaseMessage? parseMessageFromData(Map<String, dynamic> data) {
return BaseMessage.msgFromJson(data, type: data['cmd']);
}
BaseMessage? parseMessageFromData(Map<String, dynamic> data) {
return BaseMessage.msgFromJson(data, type: data['cmd']);
}