Download.fromJson constructor

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

Implementation

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