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
+17
View File
@@ -0,0 +1,17 @@
import 'package:equatable/equatable.dart';
class FileInfo with EquatableMixin {
final String fileName;
final String filePath;
final int fileSize;
FileInfo(this.fileName, this.filePath, this.fileSize);
factory FileInfo.empty() {
return FileInfo('', '', 0);
}
@override
List<Object> get props => [fileName, filePath, fileSize];
}