PlatformWebMessageChannel class abstract
Disposes the web message channel.
- Inheritance
-
- Object
- PlatformInterface
- PlatformWebMessageChannel
- Implemented types
Constructors
- PlatformWebMessageChannel(PlatformWebMessageChannelCreationParams params)
-
Creates a new PlatformWebMessageChannel
factory
- PlatformWebMessageChannel.implementation(PlatformWebMessageChannelCreationParams params)
- Used by the platform implementation to create a new PlatformWebMessageChannel.
- PlatformWebMessageChannel.static()
-
Creates a new PlatformWebMessageChannel to access static methods.
factory
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 -
Disposes the web message channel.
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