equalTags method Null safety

bool equalTags(
  1. String? tag1,
  2. String? tag2
)

Compares two tags using their compressed form.

  • tag1 the first tag.
  • tag2 the second tag. Returns true if the tags are equal and false otherwise.