customizePlatform method

  1. @override
void customizePlatform(
  1. Runtime runtime,
  2. ExecutableSettings settings
)

Defines user-provided settings for runtime.

The runtime is a runtime this plugin was declared to accept when registered with Loader.registerPlatformPlugin, or a runtime whose Runtime.parent is one of those runtimes. Subclasses should customize the behavior for these runtimes when loadChannel or load is called with the given runtime, using the settings which are parsed by parsePlatformSettings. This is guaranteed to be called before either load method.

Implementation

@override
void customizePlatform(Runtime runtime, ExecutableSettings settings) =>
    browserPlatform.customizePlatform(runtime, settings);