TF-56 Add object upload request & response and widget builder

This commit is contained in:
dab246
2021-09-17 17:37:25 +07:00
committed by Dat H. Pham
parent 858cb438a9
commit 926f249897
16 changed files with 210 additions and 5 deletions
+2 -2
View File
@@ -16,14 +16,14 @@ class Attachment with EquatableMixin {
final MediaType? type;
final String? cid;
Attachment(
Attachment({
this.partId,
this.blobId,
this.size,
this.name,
this.type,
this.cid
);
});
String getDownloadUrl(String baseDownloadUrl, AccountId accountId) {
final downloadUriTemplate = UriTemplate('$baseDownloadUrl');