getWithMetadata method

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

Implementation

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