FileDownload.fromJson constructor
Parses a FileDownload from TDLib JSON.
Implementation
factory FileDownload.fromJson(Map<String, dynamic> json) => FileDownload(
fileId: _readInt(json['file_id']),
message: _readObject(json['message'], Message.fromJson),
addDate: _readInt(json['add_date']),
completeDate: _readInt(json['complete_date']),
isPaused: _readBool(json['is_paused']),
);