UpdateNewChat.fromJson constructor
Parse from a json
Implementation
factory UpdateNewChat.fromJson(Map<String, dynamic> json) => UpdateNewChat(
chat: Chat.fromJson(json['chat']),
extra: json['@extra'],
clientId: json['@client_id'],
);