EventNodeImp<T> class
EventNodeImp stores the current value and fans events out to listeners.
- Implemented types
-
- EventNode<
T>
- EventNode<
Constructors
- EventNodeImp({T? currentData})
Properties
- currentData ↔ T?
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
streamControllerValue
→ StreamController<
T> -
no setteroverride
Methods
-
copy(
) → EventNode< T> -
Creates an independent node with the same current data.
override
-
deliver(
EventDTO dto) → void -
Stores the value and notifies listeners. Request handlers are invoked by
the bus, not here, so the value is scheduled before a handler can complete
the request.
override
-
dispose(
) → Future< void> -
Disposes of the node, closing all stream controllers and cancelling subscriptions.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited