Chats.fromJson constructor
Parse from a json
Implementation
factory Chats.fromJson(Map<String, dynamic> json) => Chats(
totalCount: json['total_count'],
chatIds: List<int>.from((json['chat_ids'] ?? []).map((item) => item).toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);