WebDuplexChannel class
- Implemented types
Constructors
- WebDuplexChannel(Worker worker, PayloadHandler encoding, {required String debugLabel})
Properties
- debugLabel → String
-
final
- done → Future
-
no setter
- encoding → PayloadHandler
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inbound
→ Stream<
DecodedMessage> -
no setteroverride
- log → Logger
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- worker → Worker
-
The actual WebWorker instance
final
Methods
-
close(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send(
int type, [dynamic payload, int? contentType]) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited