TF-437 Store state change of mailbox in background/terminate

This commit is contained in:
dab246
2022-11-30 11:51:46 +07:00
committed by Dat H. Pham
parent 49069a595c
commit 569a04844b
10 changed files with 117 additions and 22 deletions
@@ -56,6 +56,20 @@ class SynchronizeMailboxOnForegroundAction extends FcmStateChangeAction {
this.accountId
) : super(typeName, newState);
@override
List<Object?> get props => [typeName, newState, accountId];
}
class StoreMailboxStateToRefreshAction extends FcmStateChangeAction {
final AccountId accountId;
StoreMailboxStateToRefreshAction(
TypeName typeName,
jmap.State newState,
this.accountId
) : super(typeName, newState);
@override
List<Object?> get props => [typeName, newState, accountId];
}