0583406e3b
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
17 lines
494 B
Dart
17 lines
494 B
Dart
import 'package:core/presentation/state/failure.dart';
|
|
import 'package:core/presentation/state/success.dart';
|
|
import 'package:model/download/download_task_id.dart';
|
|
|
|
class DownloadAttachmentsSuccess extends UIState {
|
|
final List<DownloadTaskId> taskIds;
|
|
|
|
DownloadAttachmentsSuccess(this.taskIds);
|
|
|
|
@override
|
|
List<Object> get props => [taskIds];
|
|
}
|
|
|
|
class DownloadAttachmentsFailure extends FeatureFailure {
|
|
|
|
DownloadAttachmentsFailure(dynamic exception) : super(exception: exception);
|
|
} |