AndroidWebMessageChannel class
The representation of the HTML5 message channels.
Officially Supported Platforms/Implementations:
- Android native WebView
- iOS
- MacOS
- Inheritance
-
- Object
- PlatformInterface
- AndroidWebMessageChannel
Constructors
- AndroidWebMessageChannel.new(PlatformWebMessageChannelCreationParams params)
- Constructs a AndroidWebMessageChannel.
- AndroidWebMessageChannel.static()
-
Provide static access.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Message Channel ID used internally.
no setterinherited
- params → PlatformWebMessageChannelCreationParams
-
The parameters used to initialize the
PlatformWebMessageChannel
.finalinherited - port1 → PlatformWebMessagePort
-
The first
PlatformWebMessagePort
object of the channel.no setterinherited - port2 → PlatformWebMessagePort
-
The second
PlatformWebMessagePort
object of the channel.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - The representation of the HTML5 message channels.
-
fromMap(
Map< String, dynamic> ? map) → AndroidWebMessageChannel? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String - A string representation of this object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited