fix settings

This commit is contained in:
2025-09-26 20:54:32 +07:00
parent 30ed6b39b5
commit 74d0e3d44c
36 changed files with 5040 additions and 192 deletions

View File

@@ -0,0 +1,13 @@
import 'package:freezed_annotation/freezed_annotation.dart';
import '../../domain/entities/user.dart';
part 'auth_state.freezed.dart';
@freezed
class AuthState with _$AuthState {
const factory AuthState.initial() = AuthStateInitial;
const factory AuthState.loading() = AuthStateLoading;
const factory AuthState.authenticated(User user) = AuthStateAuthenticated;
const factory AuthState.unauthenticated([String? message]) = AuthStateUnauthenticated;
const factory AuthState.error(String message) = AuthStateError;
}