connectLibXray method
Connect with libXray using JSON configuration
Implementation
Future<bool> connectLibXray({required String config}) async {
_log('connectLibXray called');
try {
await _channel.invokeMethod('connect', {'config': config});
return true;
} catch (e) {
_log('LibXray connect error: $e');
return false;
}
}