StreamChannelCompleter<T> class
A channel where the source and destination are provided later.
The channel is a normal channel that can be listened to and that events can be added to immediately, but until setChannel is called it won't emit any events and all events added to it will be buffered.
Constructors
Properties
-
channel
→ StreamChannel<
T> -
The channel for this completer.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
setChannel(
StreamChannel< T> channel) → void -
Set a channel as the source and destination for
channel
. -
setError(
Object error, [StackTrace? stackTrace]) → void - Indicates that there was an error connecting the channel.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromFuture(
Future< StreamChannel> channelFuture) → StreamChannel -
Convert a
Future<StreamChannel>
to aStreamChannel
.