checkVpnPermission method

  1. @override
Future<bool> checkVpnPermission()
override

Implementation

@override
Future<bool> checkVpnPermission() async {
  try {
    final result = await _methodChannel.invokeMethod("checkVpnPermission");
    return result == true;
  } catch (e) {
    return false;
  }
}