getKVNamespace method
Implementation
KVNamespace getKVNamespace(String name) {
final obj = js_util.getProperty(this, name);
if (obj == null) {
// TODO better error
throw StateError(
'KVNamespace binding not found: $name - ensure it has been added to the wrangler.toml',
);
}
return obj;
}