getStreamWithMetadata method

Future<KVNamespaceGetWithMetadataResult<ReadableStream?>> getStreamWithMetadata(
  1. String name, {
  2. int? cacheTtl,
})

Implementation

Future<KVNamespaceGetWithMetadataResult<ReadableStream?>>
    getStreamWithMetadata(
  String name, {
  int? cacheTtl,
}) async {
  return KVNamespaceGetWithMetadataResult._(
    await _delegate.getWithMetadata(
      name,
      interop.KVNamespaceGetOptions()
        ..type = 'stream'
        ..cacheTtl = cacheTtl,
    ),
  );
}