WebMessageChannel.fromPlatform constructor

WebMessageChannel.fromPlatform({
  1. required PlatformWebMessageChannel platform,
})

Constructs a WebMessageChannel from a specific platform implementation.

Implementation

WebMessageChannel.fromPlatform({required this.platform});