checkConnection method

  1. @override
Future<bool> checkConnection(
  1. ConnectivityConfig config
)
override

Implementation

@override
Future<bool> checkConnection(ConnectivityConfig config) async {
  if (kIsWeb) {
    return checkConnectionWeb(config);
  } else {
    return checkConnectionIO(config);
  }
}