Download.fromJson constructor

Download.fromJson(Map<String, dynamic> json)

Implementation

Download.fromJson(Map<String, dynamic> json)
    : id = json['id'],
      name = json['name'],
      file = json['file'];