put<T> method

Future<void> put<T>(
  1. String key,
  2. T value, {
  3. bool? allowConcurrency,
  4. bool? allowUnconfirmed,
  5. bool? noCache,
})

Implementation

Future<void> put<T>(
  String key,
  T value, {
  bool? allowConcurrency,
  bool? allowUnconfirmed,
  bool? noCache,
}) async {
  return _delegate.put(
    key,
    value,
    interop.DurableObjectPutOptions()
      ..allowConcurrency = allowConcurrency
      ..allowUnconfirmed = allowUnconfirmed
      ..noCache = noCache,
  );
}