WebMessageChannel.fromPlatformCreationParams constructor

WebMessageChannel.fromPlatformCreationParams({
  1. required PlatformWebMessageChannelCreationParams params,
})

Constructs a WebMessageChannel.

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

Implementation

WebMessageChannel.fromPlatformCreationParams({
  required PlatformWebMessageChannelCreationParams params,
}) : this.fromPlatform(platform: PlatformWebMessageChannel(params));