0583406e3b
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
19 lines
542 B
Dart
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);
|
|
} |