hasConnection abstract method

Future<bool> hasConnection()

Returns true if a network connection is available. If not, returns false.

Implementation

Future<bool> hasConnection();