DownloadModel.fromJson constructor

DownloadModel.fromJson(
  1. dynamic json
)

Implementation

DownloadModel.fromJson(dynamic json) {
  url = json['url'];
  path = json['path'];
  progress = json['progress'];
  status = json['status'];
}