PlatformWebMessageChannelCreationParams constructor

const PlatformWebMessageChannelCreationParams({
  1. required String id,
  2. required PlatformWebMessagePort port1,
  3. required PlatformWebMessagePort port2,
})

Used by the platform implementation to create a new PlatformWebMessageChannel.

Implementation

const PlatformWebMessageChannelCreationParams(
    {required this.id, required this.port1, required this.port2});