when<TResult extends Object?> method

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

Implementation

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