maybeMap<TResult extends Object?> method

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

Implementation

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