Files
workavia-mail-front/lib/features/login/domain/state/authentication_user_state.dart
T
2022-10-26 21:22:15 +07:00

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];
}