compressTag method Null safety

String compressTag(
  1. String tag
)

Compress a tag by removing special symbols like spaces, '_' and '#' and converting the tag to lower case. When tags are compressed they can be matched in search queries.

  • tag the tag to compress. Returns a compressed tag.