UpdateChatFolders.fromJson constructor
Parse from a json
Implementation
factory UpdateChatFolders.fromJson(Map<String, dynamic> json) =>
UpdateChatFolders(
chatFolders: List<ChatFolderInfo>.from((json['chat_folders'] ?? [])
.map((item) => ChatFolderInfo.fromJson(item))
.toList()),
mainChatListPosition: json['main_chat_list_position'],
extra: json['@extra'],
clientId: json['@client_id'],
);