TF-233 Implement create new mailbox and sub-folder

This commit is contained in:
dab246
2022-02-23 12:39:37 +07:00
committed by Dat H. Pham
parent 9c521cde9b
commit e739e23c62
30 changed files with 460 additions and 172 deletions
@@ -0,0 +1,21 @@
import 'package:core/core.dart';
import 'package:jmap_dart_client/jmap/mail/mailbox/mailbox.dart';
class CreateNewMailboxSuccess extends UIState {
final Mailbox newMailbox;
CreateNewMailboxSuccess(this.newMailbox);
@override
List<Object?> get props => [newMailbox];
}
class CreateNewMailboxFailure extends FeatureFailure {
final exception;
CreateNewMailboxFailure(this.exception);
@override
List<Object> get props => [exception];
}