isTagged method

bool isTagged(
  1. SemanticsTag tag
)

Whether this node is tagged with tag.

Implementation

bool isTagged(SemanticsTag tag) => tags != null && tags!.contains(tag);