WebMessagePort.fromPlatform constructor

WebMessagePort.fromPlatform({
  1. required PlatformWebMessagePort platform,
})

Constructs a WebMessagePort from a specific platform implementation.

Implementation

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