map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult saveWarehouseDetails(
    1. RecordStockSaveWarehouseDetailsEvent value
    ),
  2. required TResult saveStockDetails(
    1. RecordStockSaveStockDetailsEvent value
    ),
  3. required TResult createStockEntry(
    1. RecordStockCreateStockEntryEvent value
    ),
  4. required TResult saveTransactionDetails(
    1. RecordStockSaveTransactionDetailsEvent value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(RecordStockSaveWarehouseDetailsEvent value)
      saveWarehouseDetails,
  required TResult Function(RecordStockSaveStockDetailsEvent value)
      saveStockDetails,
  required TResult Function(RecordStockCreateStockEntryEvent value)
      createStockEntry,
  required TResult Function(RecordStockSaveTransactionDetailsEvent value)
      saveTransactionDetails,
}) =>
    throw _privateConstructorUsedError;