search abstract method
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,
});