createWebObject<T extends Object> abstract method

T createWebObject<T extends Object>(
  1. String name,
  2. List<Object?> arguments
)

Constructs a backend instance of a neutral constructible Web API (e.g. BroadcastChannel) from its IDL constructor arguments.

The browser backend constructs the underlying JS object and wraps it in the matching neutral Browser* proxy; the SSR backend throws UnsupportedWebApiError since no constructible Web API exists on the server.

Implementation

T createWebObject<T extends Object>(String name, List<Object?> arguments);