TF-1599 Implement GetEmailChanges to remove notification
(cherry picked from commit 9a41ea84a40c97091b4c4c5d2e0c19afcafc712f)
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/email/email.dart';
|
||||
|
||||
class GetEmailChangesToRemoveNotificationLoading extends UIState {}
|
||||
|
||||
class GetEmailChangesToRemoveNotificationSuccess extends UIState {
|
||||
|
||||
final List<EmailId> emailIds;
|
||||
|
||||
GetEmailChangesToRemoveNotificationSuccess(this.emailIds);
|
||||
|
||||
@override
|
||||
List<Object> get props => [emailIds];
|
||||
}
|
||||
|
||||
class GetEmailChangesToRemoveNotificationFailure extends FeatureFailure {
|
||||
|
||||
GetEmailChangesToRemoveNotificationFailure(exception) : super(exception: exception);
|
||||
|
||||
@override
|
||||
List<Object> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user