WebMessagePort.fromPlatformCreationParams constructor

WebMessagePort.fromPlatformCreationParams({
  1. required PlatformWebMessagePortCreationParams params,
})

Constructs a WebMessagePort.

See WebMessagePort.fromPlatformCreationParams for setting parameters for a specific platform.

Implementation

WebMessagePort.fromPlatformCreationParams({
  required PlatformWebMessagePortCreationParams params,
}) : this.fromPlatform(platform: PlatformWebMessagePort(params));