parseMessageFromData function

BaseMessage? parseMessageFromData(
  1. Map<String, dynamic> data
)

Implementation

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