ChatLists.fromJson constructor

ChatLists.fromJson(
  1. Map<String, dynamic> json
)

Parses a ChatLists from TDLib JSON.

Implementation

factory ChatLists.fromJson(Map<String, dynamic> json) => ChatLists(
  chatLists: _readList<ChatList>(
    json['chat_lists'],
    (e) => _readObject(e, ChatList.fromJson),
  ),
  extra: json['@extra'],
  clientId: _readClientId(json['@client_id']),
);