updateTaggables method

void updateTaggables()

A listener that searches for taggables based on the current tag prompt.

If taggable options are found, the user is prompted to select one.

Implementation

void updateTaggables() async {
  if (_tagPrompt.prefix == null) return;
  final taggables = searchTaggables(_tagPrompt.prefix!, _tagPrompt.tagName);
  buildTaggables(taggables).then((tagged) {
    if (tagged != null) {
      taggableUsersTapHandler(_tagPrompt.prefix!, tagged);
    }
  });
}