CheckServer method

Future CheckServer()

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());
  }
}