startAsClient method
Start as client with optional device name
Implementation
@override
Future<bool> startAsClient({String? deviceName}) async {
try {
final result = await _channel.invokeMethod<bool>('startAsClient', {
'deviceName': deviceName,
});
return result ?? false;
} catch (e) {
debugPrint('Error starting as client: $e');
return false;
}
}