RecommendedChatFolder.fromJson constructor

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

Parses a RecommendedChatFolder from TDLib JSON.

Implementation

factory RecommendedChatFolder.fromJson(Map<String, dynamic> json) =>
    RecommendedChatFolder(
      folder: _readObject(json['folder'], ChatFolder.fromJson),
      description: _readString(json['description']),
    );