Download.fromJson constructor

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

Implementation

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