WebMessageChannel constructor
WebMessageChannel({
- required String id,
- required WebMessagePort port1,
- required WebMessagePort port2,
Disposes the web message channel.
Implementation
WebMessageChannel(
{required String id,
required WebMessagePort port1,
required WebMessagePort port2})
: this.fromPlatformCreationParams(
params: PlatformWebMessageChannelCreationParams(
id: id, port1: port1.platform, port2: port2.platform));