Implements
  • StreamController<T>

Constructors

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

Properties

done → Future

read-only
hasListener → bool

read-only
isClosed → bool

read-only
isPaused → bool

read-only
onAllCancel → Function

read / write
onCancel → ControllerCancelCallback

read / write
onListen → ControllerCallback

read / write
onPause → ControllerCallback

read / write
onResume → ControllerCallback

read / write
onStartListen → Function

read / write
sink → StreamSink<T>

read-only
stream → Stream<T>

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

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

add(T t) → void

Sends a data event.

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

Sends or enqueues 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

Closes the stream.

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