setAccessLevel method
Sets the desired access level for the storage area. The default will be
only trusted contexts.
returns Callback on success, or on failure (in which case
runtime.lastError will be set).
Implementation
Future<void> setAccessLevel(SetAccessLevelAccessOptions accessOptions) async {
await promiseToFuture<void>(_wrapped.setAccessLevel(accessOptions.toJS));
}