TF-1289: [Domain] add storeSubscription use-case

This commit is contained in:
HuyNguyen
2022-12-29 16:24:03 +07:00
committed by Dat Vu
parent dd6079385d
commit 06510e2ee5
2 changed files with 44 additions and 0 deletions
@@ -0,0 +1,22 @@
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
class StoreSubscriptionLoading extends UIState {}
class StoreSubscriptionSuccess extends UIState {
StoreSubscriptionSuccess();
@override
List<Object> get props => [];
}
class StoreSubscriptionFailure extends FeatureFailure {
final dynamic exception;
StoreSubscriptionFailure(this.exception);
@override
List<Object> get props => [exception];
}