TF-437 Store state change of mailbox in background/terminate
This commit is contained in:
@@ -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];
|
||||
}
|
||||
Reference in New Issue
Block a user