startWithJson method
Start VPN with raw Xray JSON config (bypassing link parsing)
Implementation
@override
Future<bool> startWithJson(String configJson, String name) async {
final result = await methodChannel.invokeMethod<bool>('start_with_json', {
'config': configJson,
'name': name,
});
return result ?? false;
}