Implements
  • StreamController<T>

Constructors

BroadcastStreamController([void onStartListen(), void onAllCancel(), void onListen(dynamic callback(T)), bool sync = false])

Properties

done → Future

read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
hasListener → bool

read-only
isClosed → bool

read-only
isPaused → bool

read-only
onCancel → ControllerCancelCallback

read / write
onListen → ControllerCallback

read / write
onPause → ControllerCallback

read / write
onResume → ControllerCallback

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
sink → StreamSink<T>

read-only
stream → Stream<T>

read-only

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

add(T t) → void

Send a data event to a stream.

addError(Object error, [StackTrace stackTrace]) → void

Send or enqueue an error event.

addStream(Stream<T> source, {bool cancelOnError: true}) → Future

Receives events from source and puts them into this controller's stream.

close() → Future

Tells the stream sink that no further streams will be added.

delayedCheckCancel() → void

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