mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? saveWarehouseDetails(
    1. RecordStockSaveWarehouseDetailsEvent value
    )?,
  2. TResult? saveStockDetails(
    1. RecordStockSaveStockDetailsEvent value
    )?,
  3. TResult? createStockEntry(
    1. RecordStockCreateStockEntryEvent value
    )?,
  4. TResult? saveTransactionDetails(
    1. RecordStockSaveTransactionDetailsEvent value
    )?,
})
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;