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