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
@@ -0,0 +1,22 @@
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
class StoreMailboxStateToRefreshLoading extends UIState {}
class StoreMailboxStateToRefreshSuccess extends UIState {
StoreMailboxStateToRefreshSuccess();
@override
List<Object> get props => [];
}
class StoreMailboxStateToRefreshFailure extends FeatureFailure {
final dynamic exception;
StoreMailboxStateToRefreshFailure(this.exception);
@override
List<Object> get props => [exception];
}