VPNCheck class
- Inheritance
-
- Object
- VPNChecker
- VPNCheck
- Annotations
-
- @Deprecated("Deprecated, will be remove in next versions, " "use [VPNChecker] class instead")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
vpnActivityStream
→ Stream<
bool> -
Stream based on network activity to detect VPN activity
VPN check may fail and throw and error, but you can continue listening
events by specify
cancelOnError
as falseno setterinherited
Methods
-
dispose(
) → Future< void> -
Must be disposed to cancel subscriptions and stream
inherited
-
isVPNEnabled(
) → Future< bool> -
check VPN active status
can throw VPNUnhandledException
inherited
-
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.
inherited
Static Properties
-
isVpnActive
→ Future<
bool> -
no setter