maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult selectFacility(
- FacilityModel facilityModel,
- bool isDistributor
- TResult selectProduct()?,
- TResult calculate(
- bool isDistributor
- TResult create(
- StockReconciliationModel stockReconciliationModel
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<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,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;