connect method
Implementation
@override
Future<void> connect({required String url}) async {
_log('connect called with URL: $url');
try {
await _channel.invokeMethod('connect', {'url': url});
} catch (e) {
_log('Connect error: $e');
rethrow;
}
}