checkForCaptivePortal method

Future<CaptivePortalStatus> checkForCaptivePortal({
  1. required BigInt timeoutMs,
})

Detects if the current network is a "Captive Portal" (e.g., public WiFi login page).

timeoutMs: Maximum time to wait for the probe.

Implementation

Future<CaptivePortalStatus> checkForCaptivePortal(
        {required BigInt timeoutMs}) =>
    _probesRepository.checkForCaptivePortal(timeoutMs: timeoutMs);