EventBusHandlers class abstract

Implementers

Constructors

EventBusHandlers()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAllHandlerFromOtherBus(EventBus fromBus) → void
Adds all handlers from another EventBus to this one.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAllHandlerPresentInOtherBus(EventBus otherBus) → void
Removes all handlers that are present in another EventBus from this one.
removeHandler<T>({List<String>? paths, String? separator}) → void
Removes a handler from a specific topic.
setHandler<T>({T? initialData, List<String>? paths, String? separator, required Handler<T> handler}) → void
Sets a handler for a specific topic. If initialData is provided, it will be used as the initial data for the topic.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited