27 lines
578 B
Dart
27 lines
578 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 {
|
|
final dynamic exception;
|
|
|
|
AuthenticationUserFailure(this.exception);
|
|
|
|
@override
|
|
List<Object> get props => [exception];
|
|
} |