how do you continously check internet access? I was able to show if wifi is connectected or mobile data. However, not all connection would have internet access.

```
 import 'package:connectivity/connectivity.dart';

var connectivityResult = await (Connectivity().checkConnectivity());
if (connectivityResult == ConnectivityResult.mobile) {
  // I am connected to a mobile network.
} else if (connectivityResult == ConnectivityResult.wifi) {
  // I am connected to a wifi network.
}

```

This is currently the code im using.
I was hoping how someone could check continously of internet access?