removeHandler<T> method
Removes a handler from a specific topic. Disposes of the EventNode if it exists.
Implementation
@override
void removeHandler<T>({String? path, String? target}) {
var t = Topic.create<T>(path: path, target: target);
var node = _eventsMap[t];
if (node != null) {
node.dispose();
_eventsMap.remove(t);
}
}