WebMessageChannel class
The representation of the HTML5 message channels.
Constructors
- WebMessageChannel({required String id, required WebMessagePort port1, required WebMessagePort port2})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Message Channel ID used internally.
final
- port1 → WebMessagePort
-
The first WebMessagePort object of the channel.
final
- port2 → WebMessagePort
-
The second WebMessagePort object of the channel.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleMethod(
MethodCall call) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? map) → WebMessageChannel?