closeImageOnLG method
Closes the image displayed on the Liquid Galaxy system.
Requires display_images_service
to be installed on the Liquid Galaxy system.
Implementation
Future<void> closeImageOnLG() async {
final String? pw = await sshConnection.password;
if (!await sshConnection.isConnected() || pw == null) {
return;
}
await sshConnection
.sendCommand('bash display_images_service/scripts/close.sh $pw');
}