ArchiveChatListSettings.fromJson constructor

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

Parse from a json

Implementation

factory ArchiveChatListSettings.fromJson(Map<String, dynamic> json) =>
    ArchiveChatListSettings(
      archiveAndMuteNewChatsFromUnknownUsers:
          json['archive_and_mute_new_chats_from_unknown_users'],
      keepUnmutedChatsArchived: json['keep_unmuted_chats_archived'],
      keepChatsFromFoldersArchived: json['keep_chats_from_folders_archived'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );