StreamProtocolChannel class
- Inheritance
-
- Object
- ProtocolChannel
- StreamProtocolChannel
Constructors
-
StreamProtocolChannel.new({required Stream<
Uint8List> input, required StreamSink<Uint8List> output})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
input
→ Stream<
Uint8List> -
final
-
output
→ StreamSink<
Uint8List> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subscription
↔ StreamSubscription<
Uint8List> ? -
getter/setter pair
Methods
-
dispose(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendData(
Uint8List data) → Future< void> -
override
-
start(
void onDataReceived(Uint8List data), {void onDone()?, void onError(Object? error)?}) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited