part of 'category_loader_bloc.dart';

@freezed
class CategoryLoaderState with _$CategoryLoaderState {
  const factory CategoryLoaderState.initial() = _Initial;
  const factory CategoryLoaderState.loading() = _Loading;
  const factory CategoryLoaderState.loaded(
      List<CategoryModel> categories, String? categoryId) = _Loaded;
  const factory CategoryLoaderState.error(String message) = _Error;
}
