maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult loading(
    1. InventoryReportLoadingState value
    )?,
  2. TResult empty(
    1. InventoryReportEmptyState value
    )?,
  3. TResult stock(
    1. InventoryReportStockState value
    )?,
  4. TResult stockReconciliation(
    1. InventoryReportStockReconciliationState value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(InventoryReportLoadingState value)? loading,
  TResult Function(InventoryReportEmptyState value)? empty,
  TResult Function(InventoryReportStockState value)? stock,
  TResult Function(InventoryReportStockReconciliationState value)?
      stockReconciliation,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;