part of 'global_assistants_bloc.dart';

sealed class GlobalAssistantsState extends Equatable {
  final int? category;

  final List<GlobalAssistant> assistants;

  const GlobalAssistantsState({this.category, this.assistants = const []});

  @override
  List<Object> get props => [assistants, category ?? -1];
}

final class GlobalAssistantsInitial extends GlobalAssistantsState {}

final class GlobalAssistantsLoading extends GlobalAssistantsState {}

final class GlobalAssistantsSuccess extends GlobalAssistantsState {
  const GlobalAssistantsSuccess({super.assistants, required super.category});
}

final class GlobalAssistantsFail extends GlobalAssistantsState {}
