status method
Retrieves the status of the Nominatim service.
Returns a Future that completes with a StatusResponse object.
Implementation
@override
Future<StatusResponse> status() async {
return await loadWithIsolate(() async {
var response = await NominatimServiceClient(
type: NominatimServiceType.status,
).request();
// Convert response to a StatusResponse object
return StatusResponse.fromJson(response as Map<String, dynamic>);
});
}