disconnect method
Disconnect from VPN
Implementation
@override
Future<bool> disconnect() async {
try {
final result = await methodChannel.invokeMethod<bool>('disconnect');
return result ?? false;
} catch (e) {
debugPrint('Error disconnecting from VPN: $e');
return false;
}
}