PlatformWebMessageChannel class abstract

The representation of the HTML5 message channels.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS
Inheritance
  • Object
  • PlatformInterface
  • PlatformWebMessageChannel
Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Message Channel ID used internally.
no setter
params PlatformWebMessageChannelCreationParams
The parameters used to initialize the PlatformWebMessageChannel.
final
port1 PlatformWebMessagePort
The first PlatformWebMessagePort object of the channel.
no setter
port2 PlatformWebMessagePort
The second PlatformWebMessagePort object of the channel.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
The representation of the HTML5 message channels.
override
fromMap(Map<String, dynamic>? map) PlatformWebMessageChannel?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited