SubscriptionTopic constructor

SubscriptionTopic(
  1. String rawTopic
)

Creates a new instance of a rawTopic from a topic string.

Implementation

SubscriptionTopic(String rawTopic)
    : super(rawTopic, <dynamic>[
        Topic.validateMinLength,
        Topic.validateMaxLength,
        _validateMultiWildcard,
        _validateFragments
      ]);