TF-1899 Sync and optimize handle error in base controller

(cherry picked from commit 1901d66c9100ca455c91ee8c95341de2a283eb67)
This commit is contained in:
dab246
2023-06-07 00:07:30 +07:00
committed by Dat Vu
parent dda45438ef
commit 00d8499879
12 changed files with 89 additions and 122 deletions
@@ -11,9 +11,8 @@ class GetSessionSuccess extends UIState {
}
class GetSessionFailure extends FeatureFailure {
final dynamic exception;
GetSessionFailure(this.exception);
GetSessionFailure(dynamic exception) : super(exception: exception);
@override
List<Object?> get props => [exception];