TF-1708 Update props properties for all state object in interactor
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user