PersonalDocument.fromJson constructor
Parses a PersonalDocument from TDLib JSON.
Implementation
factory PersonalDocument.fromJson(Map<String, dynamic> json) =>
PersonalDocument(
files: _readList<DatedFile>(
json['files'], (e) => _readObject(e, DatedFile.fromJson)),
translation: _readList<DatedFile>(
json['translation'], (e) => _readObject(e, DatedFile.fromJson)),
);