@override Future<bool> connectToDevice(String deviceId) async { final success = await methodChannel.invokeMethod<bool>('connectToDevice', {'deviceId': deviceId}); return success ?? false; }