UpdateChatFilters.fromJson constructor

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

Parse from a json

Implementation

factory UpdateChatFilters.fromJson(Map<String, dynamic> json) => UpdateChatFilters(
  chatFilters: List<ChatFilterInfo>.from((json['chat_filters'] ?? []).map((item) => ChatFilterInfo.fromJson(item)).toList()),
  extra: json['@extra'],
  clientId: json['@client_id'],
);