TF-3385 Update save and remove draft email

This commit is contained in:
DatDang
2025-01-02 08:55:08 +07:00
committed by Dat H. Pham
parent 571ffc4dbd
commit 059185660e
9 changed files with 88 additions and 11 deletions
@@ -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 {