CaptivePortalStatus class
The result of a captive portal detection probe.
Captive portals (intercepting gateways) are common in public spaces like airports and cafes. They appear as "connected" to the OS but block all non-authentication traffic.
- Available extensions
Constructors
- CaptivePortalStatus({required bool isCaptivePortal, String? redirectUrl})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isCaptivePortal → bool
-
True if the engine detected that HTTP requests are being redirected.
final
- redirectUrl → String?
-
The destination URL where the traffic was intercepted.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? isCaptivePortal, String? redirectUrl}) → CaptivePortalStatus -
Available on CaptivePortalStatus, provided by the CaptivePortalStatusCopyWith extension
Returns a modified status of the captive portal probe. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override