InventoryProductVariantBloc constructor

InventoryProductVariantBloc({
  1. required ProjectResourceDataRepository projectResourceDataRepository,
  2. required ProductVariantDataRepository productVariantDataRepository,
})

Implementation

InventoryProductVariantBloc(
    {required this.projectResourceDataRepository,
    required this.productVariantDataRepository})
    : super(const InventoryProductVariantState.loading()) {
  on<ProductVariantLoadEvent>(_handleLoad);
}