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