getTopic method

Topic getTopic(
  1. String topicName
)

Get a named topic, either pull it from cache or create a new instance There is a single instance of topic for each name

Implementation

Topic getTopic(String topicName) {
  return _tinodeService.getTopic(topicName)!;
}