connect method
Connect to a peer
Implementation
@override
Future<bool> connect(String deviceAddress) async {
try {
final result = await _channel.invokeMethod<bool>('connect', {
'deviceAddress': deviceAddress,
});
return result ?? false;
} catch (e) {
debugPrint('Error connecting to peer: $e');
return false;
}
}