TF-629 Download file and get the contentType to open file in Android/iOS
This commit is contained in:
committed by
Dat H. Pham
parent
40a470dc21
commit
ee692d52a2
@@ -1,16 +1,16 @@
|
||||
import 'package:core/core.dart';
|
||||
|
||||
class ExportAttachmentSuccess extends UIState {
|
||||
final String filePath;
|
||||
final DownloadedResponse downloadedResponse;
|
||||
|
||||
ExportAttachmentSuccess(this.filePath);
|
||||
ExportAttachmentSuccess(this.downloadedResponse);
|
||||
|
||||
@override
|
||||
List<Object> get props => [filePath];
|
||||
List<Object> get props => [downloadedResponse];
|
||||
}
|
||||
|
||||
class ExportAttachmentFailure extends FeatureFailure {
|
||||
final exception;
|
||||
final dynamic exception;
|
||||
|
||||
ExportAttachmentFailure(this.exception);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user