getSuggestions static method

List<String> getSuggestions(
  1. String query
)

Implementation

static List<String> getSuggestions(String query) => List.empty(growable: true)
  ..addAll(countriesFrench.values)
  ..retainWhere((s) => s.toLowerCase().contains(query.toLowerCase()));