TF-2129 Fix cannot attach file on mobile

(cherry picked from commit b35f09069d5ac9379632f599419af0cda1d91cc7)
This commit is contained in:
dab246
2023-09-07 15:20:58 +07:00
committed by Dat Vu
parent 8f7a1aeb10
commit 143503c52d
4 changed files with 68 additions and 65 deletions
@@ -0,0 +1,24 @@
import 'package:equatable/equatable.dart';
class MobileFileUpload with EquatableMixin {
final String fileName;
final String filePath;
final int fileSize;
final String mimeType;
MobileFileUpload(
this.fileName,
this.filePath,
this.fileSize,
this.mimeType
);
@override
List<Object?> get props => [
fileName,
filePath,
fileSize,
mimeType,
];
}