when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult saveWarehouseDetails(
- DateTime dateOfRecord,
- FacilityModel facilityModel
- required TResult saveStockDetails(
- StockModel stockModel
- required TResult createStockEntry(),
- required TResult saveTransactionDetails(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(
DateTime dateOfRecord, FacilityModel facilityModel)
saveWarehouseDetails,
required TResult Function(StockModel stockModel) saveStockDetails,
required TResult Function() createStockEntry,
required TResult Function(DateTime dateOfRecord, String primaryType,
String primaryId, FacilityModel? facilityModel)
saveTransactionDetails,
}) =>
throw _privateConstructorUsedError;