isOnLine property

bool get isOnLine

Indicates whether browser is considering to have connectivity status.

Implementation

static bool get isOnLine => web.window.navigator.onLine;