ChatListFolder.fromJson constructor

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

Parses a ChatListFolder from TDLib JSON.

Implementation

factory ChatListFolder.fromJson(Map<String, dynamic> json) => ChatListFolder(
      chatFolderId: _readInt(json['chat_folder_id']),
    );