lookup abstract method
Performs a lookup request to the Nominatim service.
This function sends a lookup request with the specified parameters to the Nominatim service and returns a list of NominatimResponse objects.
The lookupRequest
parameter is required and contains the details of the
lookup request.
The language
parameter is optional and specifies the language in which
the results should be returned.
Returns a Future that completes with a list of NominatimResponse objects.
Example usage:
final responses = await nominatimService.lookup(
lookupRequest: LookupRequest(...),
language: 'en',
);
Implementation
Future<List<NominatimResponse>> lookup({
required LookupRequest lookupRequest,
String? language,
});