20 lines
446 B
Dart
20 lines
446 B
Dart
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 dynamic exception;
|
|
|
|
DownloadAttachmentsFailure(this.exception);
|
|
|
|
@override
|
|
List<Object?> get props => [exception];
|
|
} |