clear method
Implementation
void clear({List<HashTag>? hash, List<Mention>? people, bool load = false}) {
loading = load;
suggestions = people ?? [];
hashtags = hash ?? [];
suggestionHeight = load
? containerMaxHeight
: people != null
? (itemHeight * people.length).clamp(0, containerMaxHeight)
: hash != null
? (itemHeight * hash.length).clamp(0, containerMaxHeight)
: 1.0;
}