isVpnActive property

Future<bool> get isVpnActive

Implementation

static Future<bool> get isVpnActive async {
  try {
    final bool result = await _channel.invokeMethod<bool>('isVPNCheck') ?? false;
    return result;
  } on PlatformException {
    return false;
  }
}