TF-1708 Update props properties for all state object in interactor

(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
This commit is contained in:
dab246
2023-07-07 13:07:53 +07:00
committed by Dat Vu
parent 24d7eee69a
commit 0583406e3b
142 changed files with 348 additions and 1092 deletions
@@ -1,18 +1,9 @@
import 'package:core/core.dart';
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
class CleanupEmailCacheSuccess extends UIState {
CleanupEmailCacheSuccess();
@override
List<Object> get props => [];
}
class CleanupEmailCacheSuccess extends UIState {}
class CleanupEmailCacheFailure extends FeatureFailure {
final dynamic exception;
CleanupEmailCacheFailure(this.exception);
@override
List<Object?> get props => [exception];
CleanupEmailCacheFailure(dynamic exception) : super(exception: exception);
}
@@ -1,18 +1,9 @@
import 'package:core/core.dart';
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
class CleanupRecentLoginUrlCacheSuccess extends UIState {
CleanupRecentLoginUrlCacheSuccess();
@override
List<Object> get props => [];
}
class CleanupRecentLoginUrlCacheSuccess extends UIState {}
class CleanupRecentLoginUrlCacheFailure extends FeatureFailure {
final dynamic exception;
CleanupRecentLoginUrlCacheFailure(this.exception);
@override
List<Object?> get props => [exception];
CleanupRecentLoginUrlCacheFailure(dynamic exception) : super(exception: exception);
}
@@ -1,18 +1,9 @@
import 'package:core/core.dart';
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
class CleanupRecentLoginUsernameCacheSuccess extends UIState {
CleanupRecentLoginUsernameCacheSuccess();
@override
List<Object> get props => [];
}
class CleanupRecentLoginUsernameCacheSuccess extends UIState {}
class CleanupRecentLoginUsernameCacheFailure extends FeatureFailure {
final dynamic exception;
CleanupRecentLoginUsernameCacheFailure(this.exception);
@override
List<Object?> get props => [exception];
CleanupRecentLoginUsernameCacheFailure(dynamic exception) : super(exception: exception);
}
@@ -1,18 +1,9 @@
import 'package:core/core.dart';
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
class CleanupRecentSearchCacheSuccess extends UIState {
CleanupRecentSearchCacheSuccess();
@override
List<Object> get props => [];
}
class CleanupRecentSearchCacheSuccess extends UIState {}
class CleanupRecentSearchCacheFailure extends FeatureFailure {
final dynamic exception;
CleanupRecentSearchCacheFailure(this.exception);
@override
List<Object?> get props => [exception];
CleanupRecentSearchCacheFailure(dynamic exception) : super(exception: exception);
}