CheckServer method
Function to Check Server Status
Implementation
Future CheckServer() async {
try {
var response = await httpClient.get('');
return response;
} catch (e) {
print(e);
throw Exception(e.toString());
}
}
Function to Check Server Status
Future CheckServer() async {
try {
var response = await httpClient.get('');
return response;
} catch (e) {
print(e);
throw Exception(e.toString());
}
}