ListenerControllerMixin<T> mixin
监听控制器
与广播流不同的是,订阅者在resume
时会重新接收到事件
- Mixin Applications
Properties
-
activeUnits
→ Set<
ListenerUnit< T> > -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListener → bool
-
no setter
- isCanceled → bool
-
no setter
- isDisposed → bool
-
no setter
- isPaused → bool
-
no setter
- lastData ↔ T?
-
getter/setter pair
- listenFirst → bool
-
no setter
-
listenUnits
→ Set<
ListenerUnit< T> > -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldCache → bool
-
no setter
-
stream
→ SenderStream<
T> -
no setter
Methods
-
add(
T data) → void -
cancel(
) → void -
dispose(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyClient(
) → void -
onListen(
ListenerUnit< T> child) → void -
onResume(
) → void -
remove(
ListenerUnit< T> unit) → void -
toString(
) → String -
A string representation of this object.
inherited
-
trigger(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited