mirrored_repositories/Expenses_Tracker_App/lib/bloc
part of 'auth_bloc.dart';

sealed class AuthState extends Equatable {
  const AuthState();
  @override
  List<Object> get props => [];
}

class AuthInitial extends AuthState {}

class AuthLoading extends AuthState {}

// ignore: must_be_immutable
class Authenticated extends AuthState {
  User? user;
  String? fullName;

  Authenticated({
    this.user,
    this.fullName,
  });
}

class Unauthenticated extends AuthState {}

class AuthError extends AuthState {
  final String message;

  const AuthError(this.message);

  @override
  List<Object> get props => [message];
}
