hasNetworkConnection static method

Future<bool> hasNetworkConnection()

Implementation

static Future<bool> hasNetworkConnection() async => InternetConnectionChecker().hasConnection;