getWifiDetectStatus static method

Future<WifiDetectResponse> getWifiDetectStatus()

Obtains the malicious Wi-Fi check result. Note: This feature is available only in the Chinese Mainland.

Implementation

static Future<WifiDetectResponse> getWifiDetectStatus() async {
  final int res = await _methodChannel.invokeMethod(
    'getWifiDetectStatus',
  );
  return WifiDetectResponse.fromInt(res);
}