hasTag abstract method Null safety

bool hasTag(
  1. String tag
)

checks if there is any instance registered with a tag

Implementation

bool hasTag(String tag);