Implemented simple and basic file downloading

This commit is contained in:
2023-03-11 20:26:00 +01:00
parent d519bafe3b
commit 54153f1958
12 changed files with 505 additions and 312 deletions

View File

@ -0,0 +1,14 @@
import 'package:json_annotation/json_annotation.dart';
part 'downloadFileResponse.g.dart';
@JsonSerializable()
class DownloadFileResponse {
String path;
DownloadFileResponse(this.path);
factory DownloadFileResponse.fromJson(Map<String, dynamic> json) => _$DownloadFileResponseFromJson(json);
Map<String, dynamic> toJson() => _$DownloadFileResponseToJson(this);
}