init static method

dynamic init()

Implementation

static init() {
  connectivityListener = InternetConnectionChecker().onStatusChange.listen((status) {
    switch (status) {
      case InternetConnectionStatus.connected:
        isConnectionReady = true;
        break;
      case InternetConnectionStatus.disconnected:
        isConnectionReady = false;
        break;
    }
  });
}