TF-838 Implement State for Interactor
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import 'package:core/core.dart';
|
||||
import 'package:jmap_dart_client/jmap/mail/mailbox/mailbox.dart';
|
||||
import 'package:tmail_ui_user/features/base/state/ui_action_state.dart';
|
||||
import 'package:tmail_ui_user/features/email/domain/model/move_action.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/state.dart' as jmap;
|
||||
|
||||
class MoveMailboxLoading extends UIState {
|
||||
|
||||
@@ -10,7 +12,7 @@ class MoveMailboxLoading extends UIState {
|
||||
List<Object?> get props => [];
|
||||
}
|
||||
|
||||
class MoveMailboxSuccess extends UIState {
|
||||
class MoveMailboxSuccess extends UIActionState {
|
||||
|
||||
final MailboxId mailboxIdSelected;
|
||||
final MoveAction moveAction;
|
||||
@@ -24,9 +26,11 @@ class MoveMailboxSuccess extends UIState {
|
||||
{
|
||||
this.parentId,
|
||||
this.destinationMailboxId,
|
||||
this.destinationMailboxName
|
||||
this.destinationMailboxName,
|
||||
jmap.State? currentEmailState,
|
||||
jmap.State? currentMailboxState,
|
||||
}
|
||||
);
|
||||
) : super(currentEmailState, currentMailboxState);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [
|
||||
|
||||
Reference in New Issue
Block a user