isDisconnected property

Future<bool> get isDisconnected

Getter for checking if the device is disconnected from the internet.

Implementation

Future<bool> get isDisconnected async => !(await isConnected);