checkConnection method

Future<ConnectivityResult> checkConnection()

Implementation

Future<ConnectivityResult> checkConnection() async {
  var connectivityResult = await (Connectivity().checkConnectivity());
  return connectivityResult;
}