mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult? saveWarehouseDetails()?,
- TResult? saveStockDetails()?,
- TResult? createStockEntry()?,
- TResult? saveTransactionDetails()?,
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(RecordStockSaveWarehouseDetailsEvent value)?
saveWarehouseDetails,
TResult? Function(RecordStockSaveStockDetailsEvent value)? saveStockDetails,
TResult? Function(RecordStockCreateStockEntryEvent value)? createStockEntry,
TResult? Function(RecordStockSaveTransactionDetailsEvent value)?
saveTransactionDetails,
}) =>
throw _privateConstructorUsedError;