RecommendedChatFilters.fromJson constructor

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

Parse from a json

Implementation

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