mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? loadStockData(
    1. InventoryReportLoadStockDataEvent value
    )?,
  2. TResult? loadStockReconciliationData(
    1. InventoryReportLoadStockReconciliationDataEvent value
    )?,
  3. TResult? loading(
    1. InventoryReportLoadingEvent value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(InventoryReportLoadStockDataEvent value)? loadStockData,
  TResult? Function(InventoryReportLoadStockReconciliationDataEvent value)?
      loadStockReconciliationData,
  TResult? Function(InventoryReportLoadingEvent value)? loading,
}) =>
    throw _privateConstructorUsedError;