hasWildcards property Null safety

bool hasWildcards

Returns true if there are any wildcards in the specified rawTopic, otherwise false.

Implementation

bool get hasWildcards =>
    rawTopic.contains(multiWildcard) || rawTopic.contains(wildcard);