pubsubByTopic property

Map<String, PubSub> pubsubByTopic
getter/setter pair

A static map that associates topics with their respective PubSub instances. This facilitates the publishing and subscribing of events related to specific topics.

Implementation

static Map<String, PubSub> pubsubByTopic = {};