fromJson static method
Implementation
static RecommendedChatFolders? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return RecommendedChatFolders(
chatFolders: List<RecommendedChatFolder>.from(
tdListFromJson(json['chat_folders'])
.map((item) => RecommendedChatFolder.fromJson(tdMapFromJson(item)))
.whereType<RecommendedChatFolder>(),
),
);
}