FlutterVpn class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
-
charonErrorState
→ Future<
CharonErrorState?> -
Get current error state from
VpnStateService
. (Android only) When FlutterVpnState.genericError is received, details of error can be inspected byCharonErrorState
. Returnsnull
on non-android platform.no setter -
currentState
→ Future<
FlutterVpnState> -
Get current state.
no setter
-
onStateChanged
→ Stream<
FlutterVpnState> -
Receive state change from VPN service.
no setter
-
prepared
→ Future<
bool> -
Check if vpn connection has been prepared. (Android only)
no setter