configureWorld method

Future<void> configureWorld(
  1. WorldProperties properties
)

Configures the USER_SCRIPT execution environment. |properties|: Contains the user script world configuration. |Returns|: Promise that resolves once the world has been configured.

Implementation

Future<void> configureWorld(WorldProperties properties) async {
  await $js.chrome.userScripts.configureWorld(properties.toJS).toDart;
}