getSubscribedTopic static method

Future<MessagingTopic> getSubscribedTopic(
  1. TopicSubscription subscription,
  2. ChatMessageFactory chatMessageFactory
)

Retrieves or creates a supervised messaging topic based on a given topic subscription and applies the corresponding decryption key.

Implementation

static Future<MessagingTopic> getSubscribedTopic(
  TopicSubscription subscription,
  ChatMessageFactory chatMessageFactory,
) async {
  return await LocalitySocialCloudChat.getSubscribedTopic(
      subscription, chatMessageFactory);
}