isOnline property

Future<bool> get isOnline

Implementation

Future<bool> get isOnline => InternetConnection().hasInternetAccess;