part of 'customer_loader_bloc.dart';

@freezed
class CustomerLoaderState with _$CustomerLoaderState {
  const factory CustomerLoaderState.initial() = _Initial;
  const factory CustomerLoaderState.loading() = _Loading;
  const factory CustomerLoaderState.loaded(
      List<Customer> customers, int totalCustomer) = _Loaded;
  const factory CustomerLoaderState.error(String message) = _Error;
}
