DownloadedFileCounts.fromJson constructor
Parses a DownloadedFileCounts from TDLib JSON.
Implementation
factory DownloadedFileCounts.fromJson(Map<String, dynamic> json) =>
DownloadedFileCounts(
activeCount: _readInt(json['active_count']),
pausedCount: _readInt(json['paused_count']),
completedCount: _readInt(json['completed_count']),
);