hasConnection method

  1. @override
Future<bool> hasConnection()
override

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

Implementation

@override
Future<bool> hasConnection() async => true;