8be3eb53e9
(cherry picked from commit 591388e01fc4fc4c357bdb40a44dac0377dc9fe5)
26 lines
585 B
Dart
26 lines
585 B
Dart
import 'package:core/core.dart';
|
|
import 'package:model/model.dart';
|
|
|
|
class AuthenticationUserLoading extends LoadingState {
|
|
AuthenticationUserLoading();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
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);
|
|
|
|
@override
|
|
List<Object?> get props => [exception];
|
|
} |