isTagged method Null safety

bool isTagged(
  1. SemanticsTag tag
)

Whether this node is tagged with tag.

Implementation

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