mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

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