ListenerUnit<T> class
- Available Extensions
Constructors
-
ListenerUnit(ListenerControllerMixin<
T> listener)
Properties
-
controller
→ StreamController<
T> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListener → bool
-
no setter
- isPause → bool
-
no setter
- isRemoved → bool
-
no setter
-
listener
→ ListenerControllerMixin<
T> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ SenderStream<
T> -
no setter
Methods
-
add(
T data) → void -
close(
) → void -
listen(
void onData(T event)?, {Function? onError, void onDone()?, bool? cancelOnError}) → StreamSubscription< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCancel(
) → void -
onListen(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
trigger(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited