setInlineSuggestion method
Implementation
void setInlineSuggestion(T suggestion,
{String? suggestionToken, bool notify = false}) {
if (_isDisposed) return;
this.suggestion = Suggestion.highlighted(
item: suggestion,
highlightText:
suggestionToken ?? suggestionToken ?? tokenizer(suggestion).first);
if (notify) {
notifyListeners();
}
}