TF-189 Update use-case: Do no split mailbox list into 2 default and folder
This commit is contained in:
committed by
Dat H. Pham
parent
17499e70db
commit
25337069b2
@@ -3,18 +3,16 @@ import 'package:jmap_dart_client/jmap/core/state.dart';
|
||||
import 'package:model/mailbox/presentation_mailbox.dart';
|
||||
|
||||
class GetAllMailboxSuccess extends UIState {
|
||||
final List<PresentationMailbox> defaultMailboxList;
|
||||
final List<PresentationMailbox> folderMailboxList;
|
||||
final List<PresentationMailbox> mailboxList;
|
||||
final State? currentMailboxState;
|
||||
|
||||
GetAllMailboxSuccess({
|
||||
required this.defaultMailboxList,
|
||||
required this.folderMailboxList,
|
||||
required this.mailboxList,
|
||||
required this.currentMailboxState
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object?> get props => [defaultMailboxList, folderMailboxList, currentMailboxState];
|
||||
List<Object?> get props => [mailboxList, currentMailboxState];
|
||||
}
|
||||
|
||||
class GetAllMailboxFailure extends FeatureFailure {
|
||||
|
||||
Reference in New Issue
Block a user