parseMessageFromData function
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']);
}