2026-01-27 18:44:49 +08:00
|
|
|
import '../../domain/entities/user_entity.dart';
|
2026-01-11 19:42:22 +08:00
|
|
|
|
|
|
|
|
abstract class AuthState {}
|
|
|
|
|
|
|
|
|
|
class AuthInitial extends AuthState {}
|
|
|
|
|
|
|
|
|
|
class AuthAuthenticated extends AuthState {
|
|
|
|
|
final UserEntity user;
|
|
|
|
|
AuthAuthenticated(this.user);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class AuthUnauthenticated extends AuthState {}
|