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