suggestions property

List<T>? get suggestions

The current suggestions of the suggestions box.

Implementation

List<T>? get suggestions =>
    _suggestions == null ? null : List.of(_suggestions!);
set suggestions (List<T>? value)

Implementation

set suggestions(List<T>? value) {
  if (listEquals(_suggestions, value)) return;
  if (value != null) {
    value = List.of(value);
  }
  _suggestions = value;
  notifyListeners();
}