feat: customer
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user