11 lines
394 B
Dart
Raw Normal View History

2025-08-03 15:28:27 +07:00
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;
}