prepare static method
Prepare for vpn connection. (Android only)
For first connection it will show a dialog to ask for permission. When your connection was interrupted by another VPN connection, you should prepare again before reconnect.
Does nothing on iOS.
Implementation
static Future<bool> prepare() async {
if (!Platform.isAndroid) return true;
return (await _channel.invokeMethod<bool>('prepare'))!;
}