search method

Future<List<Suggestion>> search(
  1. String query, {
  2. bool includeFullSuggestionDetails = false,
  3. bool postalCodeLookup = false,
})

Implementation

Future<List<Suggestion>> search(String query,
    {bool includeFullSuggestionDetails = false,
    bool postalCodeLookup = false}) async {
  return await apiClient.fetchSuggestions(query,
      includeFullSuggestionDetails: includeFullSuggestionDetails,
      postalCodeLookup: postalCodeLookup);
}