TF-437 Delete state change of mailbox after invoke refresh change in background/terminated

This commit is contained in:
dab246
2022-11-30 12:13:06 +07:00
committed by Dat H. Pham
parent b37de97d6b
commit 32bb7c9796
4 changed files with 62 additions and 4 deletions
@@ -0,0 +1,22 @@
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
class DeleteMailboxStateToRefreshLoading extends UIState {}
class DeleteMailboxStateToRefreshSuccess extends UIState {
DeleteMailboxStateToRefreshSuccess();
@override
List<Object> get props => [];
}
class DeleteMailboxStateToRefreshFailure extends FeatureFailure {
final dynamic exception;
DeleteMailboxStateToRefreshFailure(this.exception);
@override
List<Object> get props => [exception];
}