TF-148 Add domain layer for cleanup email cache

This commit is contained in:
dab246
2021-10-21 14:38:36 +07:00
committed by Dat H. Pham
parent 82d88efc9f
commit 08a9a74de1
4 changed files with 65 additions and 0 deletions
@@ -0,0 +1,18 @@
import 'package:core/core.dart';
class CleanupEmailCacheSuccess extends UIState {
CleanupEmailCacheSuccess();
@override
List<Object> get props => [];
}
class CleanupEmailCacheFailure extends FeatureFailure {
final exception;
CleanupEmailCacheFailure(this.exception);
@override
List<Object> get props => [exception];
}