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
+8 -1
View File
@@ -1,9 +1,16 @@
import 'package:equatable/equatable.dart';
abstract class Failure extends Equatable {}
abstract class Failure with EquatableMixin {
@override
bool? get stringify => true;
}
abstract class FeatureFailure extends Failure {
final dynamic exception;
FeatureFailure({this.exception});
@override
List<Object?> get props => [exception];
}
+5 -1
View File
@@ -1,6 +1,10 @@
import 'package:equatable/equatable.dart';
abstract class Success with EquatableMixin {}
abstract class Success with EquatableMixin {
@override
bool? get stringify => true;
}
abstract class ViewState extends Success {}