DownloadedFileCounts.fromJson constructor

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

Parse from a json

Implementation

factory DownloadedFileCounts.fromJson(Map<String, dynamic> json) =>
    DownloadedFileCounts(
      activeCount: json['active_count'],
      pausedCount: json['paused_count'],
      completedCount: json['completed_count'],
    );