Map<String, dynamic> toJson() { final map = <String, dynamic>{}; map['url'] = url; map['path'] = path; map['progress'] = progress; map['status'] = status; return map; }