search abstract method

Future<List<NominatimResponse>> search({
  1. required SearchRequest searchRequest,
  2. String? language,
})

Searches for locations based on the given searchRequest.

The searchRequest parameter is required and contains the search criteria. The optional language parameter specifies the language for the search results.

Returns a Future that completes with a list of NominatimResponse objects.

Implementation

Future<List<NominatimResponse>> search({
  required SearchRequest searchRequest,
  String? language,
});