createNode<T> method
Creates the node for a topic.
The topic is part of the node's identity: a transport bus overrides this method and returns a node that publishes to and listens from its broker. The default node is local-only and ignores the topic.
Implementation
EventNode<T> createNode<T>({
required Topic topic,
T? currentData,
}) {
return EventNode<T>.create(currentData: currentData);
}