maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult loadStockData(
    1. InventoryReportType reportType,
    2. String facilityId,
    3. String productVariantId
    )?,
  2. TResult loadStockReconciliationData(
    1. String facilityId,
    2. String productVariantId
    )?,
  3. TResult loading()?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(InventoryReportType reportType, String facilityId,
          String productVariantId)?
      loadStockData,
  TResult Function(String facilityId, String productVariantId)?
      loadStockReconciliationData,
  TResult Function()? loading,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;