ChatViewEvent.fromJson constructor
Parsing ChatViewEvent from json.
Implementation
factory ChatViewEvent.fromJson(Map<String, dynamic> json) => ChatViewEvent(
eventName: json['eventName'] as String,
payload: (json['payload'] != null) ? json['payload'] as dynamic : null,
);