PlatformWebMessageChannelCreationParams class
Object specifying creation parameters for creating a PlatformWebMessageChannel.
Platform specific implementations can add additional fields by extending this class.
- Annotations
Constructors
- PlatformWebMessageChannelCreationParams({required String id, required PlatformWebMessagePort port1, required PlatformWebMessagePort port2})
-
Used by the platform implementation to create a new PlatformWebMessageChannel.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Message Channel ID used internally.
final
- port1 → PlatformWebMessagePort
-
The first PlatformWebMessagePort object of the channel.
final
- port2 → PlatformWebMessagePort
-
The second PlatformWebMessagePort object of the channel.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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