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,4 +1,5 @@
import 'package:core/core.dart';
import 'package:core/presentation/state/failure.dart';
import 'package:core/presentation/state/success.dart';
import 'package:model/mailbox/presentation_mailbox.dart';
class LoadingSearchMailbox extends UIState {}
@@ -14,10 +15,6 @@ class SearchMailboxSuccess extends UIState {
}
class SearchMailboxFailure extends FeatureFailure {
final dynamic exception;
SearchMailboxFailure(this.exception);
@override
List<Object?> get props => [exception];
SearchMailboxFailure(dynamic exception) : super(exception: exception);
}