maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult selectFacility(
    1. StockReconciliationSelectFacilityEvent value
    )?,
  2. TResult selectProduct(
    1. StockReconciliationSelectProductEvent value
    )?,
  3. TResult calculate(
    1. StockReconciliationCalculateEvent value
    )?,
  4. TResult create(
    1. StockReconciliationCreateEvent value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(StockReconciliationSelectFacilityEvent value)?
      selectFacility,
  TResult Function(StockReconciliationSelectProductEvent value)?
      selectProduct,
  TResult Function(StockReconciliationCalculateEvent value)? calculate,
  TResult Function(StockReconciliationCreateEvent value)? create,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;