world property

ExecutionWorld? get world

The JavaScript "world" to run the script in. The default is USER_SCRIPT.

Implementation

ExecutionWorld? get world => _wrapped.world?.let(ExecutionWorld.fromJS);
set world (ExecutionWorld? v)

Implementation

set world(ExecutionWorld? v) {
  _wrapped.world = v?.toJS;
}