TF-32 Add domain layer of download attachment for android platform

This commit is contained in:
dab246
2021-09-16 09:07:11 +07:00
committed by Dat H. Pham
parent 9b43417ac8
commit ddf8a32e66
16 changed files with 214 additions and 13 deletions
@@ -0,0 +1,20 @@
import 'package:core/core.dart';
import 'package:model/model.dart';
class DownloadAttachmentsSuccess extends UIState {
final List<DownloadTaskId> taskIds;
DownloadAttachmentsSuccess(this.taskIds);
@override
List<Object> get props => [taskIds];
}
class DownloadAttachmentsFailure extends FeatureFailure {
final exception;
DownloadAttachmentsFailure(this.exception);
@override
List<Object> get props => [exception];
}