acceptSuggestion method
Implementation
Future acceptSuggestion({T? suggestion}) async {
if (suggestionToken != null) {
final _currentSuggestion = suggestion ?? this.suggestion.item;
this.suggestion = Suggestion.empty();
if (_currentSuggestion != null) {
await addChip(_currentSuggestion, resetQuery: true);
}
}
}