suggest method

List<String> suggest(
  1. String prefix
)

Suggest entries based on the beginning of the string.

This method returns a List

If multiple suggestions have the same number of entries, they are sorted by recency, with the most recently entered suggestion being on top.

Implementation

List<String> suggest(String prefix) {
  return _tree.suggestions(prefix);
}