Files
workavia-mail-front/lib/features/login/domain/state/authentication_user_state.dart
T
dab246 0583406e3b TF-1708 Update props properties for all state object in interactor
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
2023-07-07 22:45:26 +07:00

19 lines
542 B
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 {}
class AuthenticationUserSuccess extends UIState {
final UserProfile userProfile;
AuthenticationUserSuccess(this.userProfile);
@override
List<Object> get props => [userProfile];
}
class AuthenticationUserFailure extends FeatureFailure {
AuthenticationUserFailure(dynamic exception) : super(exception: exception);
}