when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult selectFacility(
- FacilityModel facilityModel,
- bool isDistributor
- required TResult selectProduct(),
- required TResult calculate(
- bool isDistributor
- required TResult create(
- StockReconciliationModel stockReconciliationModel
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(FacilityModel facilityModel, bool isDistributor)
selectFacility,
required TResult Function(String? productVariantId, bool isDistributor)
selectProduct,
required TResult Function(bool isDistributor) calculate,
required TResult Function(StockReconciliationModel stockReconciliationModel)
create,
}) =>
throw _privateConstructorUsedError;