WebSocketMessage.fromJson constructor
Implementation
WebSocketMessage.fromJson(Map<String, dynamic> json)
: code = json['code'] as int,
data = json['data'],
type = MessageActionExtension.parse(json['type'] as int),
msg = json['msg'] as String?,
timestamp = json['timestamp'] as int?;