MiniStream<T> class
Null safety
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- hasListeners → bool
-
read-only
- isClosed → bool
-
read-only
- length → int
-
read-only
-
listenable
↔ FastList<
T> -
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- value ↔ T
-
read / write
Methods
-
add(
T event) → void -
addError(
Object error, [StackTrace? stackTrace]) → void -
close(
) → void -
listen(
void onData(T event), {Function? onError, void onDone()?, bool cancelOnError = false}) → MiniSubscription< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited