ConnectivityChangeListener typedef
ConnectivityChangeListener =
void Function(ConnectivityResult result, bool hasInternet)
Implementation
typedef ConnectivityChangeListener = void Function(ConnectivityResult result, bool hasInternet);