EventNode<T> class
abstract
A node holds the current value of a topic and the stream of its listeners. Request handlers are registered on the bus, not on the node.
- Implementers
Constructors
- EventNode.create({T? currentData})
-
factory
Properties
- currentData ↔ T?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
streamControllerValue
→ StreamController<
T> -
no setter
Methods
-
copy(
) → EventNode< T> -
deliver(
EventDTO dto) → void - Delivers an event to the value stream. Only listeners are notified.
-
dispose(
) → Future< void> - Disposes of the node, closing all stream controllers and cancelling subscriptions.
-
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