KVNamespace class

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(Iterable<String> keys) → Future<void>
get(String name, {int? cacheTtl}) → Future<String?>
getBuffer(String name, {int? cacheTtl}) → Future<ByteBuffer?>
getBufferWithMetadata(String name, {int? cacheTtl}) → Future<KVNamespaceGetWithMetadataResult<ByteBuffer?>>
getJson<K, V>(String name, {int? cacheTtl}) → Future<Map<K, V>>
getJsonWithMetadata<K, V>(String name, {int? cacheTtl}) → Future<KVNamespaceGetWithMetadataResult<Map<K, V>?>>
getStream(String name, {int? cacheTtl}) → Future<Stream<List<int>>?>
getStreamWithMetadata(String name, {int? cacheTtl}) → Future<KVNamespaceGetWithMetadataResult<ReadableStream?>>
getWithMetadata(String name, {int? cacheTtl}) → Future<KVNamespaceGetWithMetadataResult<String?>>
list({int? limit, String? prefix, String? cursor}) → Future<KVNamespaceListResult>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String key, Object value, {DateTime? expiration, int? expirationTtl, Object? metadata}) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited