part of 'register_bloc.dart';

sealed class RegisterState {}

final class RegisterInitial extends RegisterState {}

final class RegisterSuccess extends RegisterState {
  final bool isNew;

  RegisterSuccess({required this.isNew});
}

final class RegisterFail extends RegisterState {
  final String? error;
  final int statusCode;

  RegisterFail({required this.error, required this.statusCode});
}

final class RegisterLoading extends RegisterState {}
