TF-1708 Update props properties for all state object in interactor
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
import 'package:core/core.dart';
|
||||
import 'package:model/model.dart';
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:model/user/user_profile.dart';
|
||||
|
||||
class AuthenticationUserLoading extends LoadingState {
|
||||
AuthenticationUserLoading();
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
}
|
||||
class AuthenticationUserLoading extends LoadingState {}
|
||||
|
||||
class AuthenticationUserSuccess extends UIState {
|
||||
final UserProfile userProfile;
|
||||
@@ -20,7 +16,4 @@ class AuthenticationUserSuccess extends UIState {
|
||||
class AuthenticationUserFailure extends FeatureFailure {
|
||||
|
||||
AuthenticationUserFailure(dynamic exception) : super(exception: exception);
|
||||
|
||||
@override
|
||||
List<Object?> get props => [exception];
|
||||
}
|
||||
Reference in New Issue
Block a user