isOnLine property
Indicates whether browser is considering to have connectivity status.
Implementation
static bool get isOnLine =>
web.window.navigator.onLine &&
(Config.allowDetachedActivity ||
router.lifecycle.value != AppLifecycleState.detached);