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.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
setChannel(
StreamChannel< T> channel) → void -
Set a channel as the source and destination for
channel
. [...] -
setError(
dynamic error, [ StackTrace stackTrace ]) → void - Indicates that there was an error connecting the channel. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited
Static Methods
-
fromFuture(
Future< StreamChannel> channelFuture) → StreamChannel -
Convert a
Future<StreamChannel>
to aStreamChannel
. [...]