TF-3385 Update save and remove draft email
This commit is contained in:
@@ -1,7 +1,15 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/mailbox/mailbox.dart';
|
||||
|
||||
class RemoveEmailDraftsSuccess extends UIState {}
|
||||
class RemoveEmailDraftsSuccess extends UIState {
|
||||
final MailboxId? draftMailboxId;
|
||||
|
||||
RemoveEmailDraftsSuccess(this.draftMailboxId);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [draftMailboxId];
|
||||
}
|
||||
|
||||
class RemoveEmailDraftsFailure extends FeatureFailure {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user