systemReboot method
This operation reboots the device.
Access Class: UNRECOVERABLE
Implementation
Future<String> systemReboot() async {
loggy.debug('systemReboot');
final responseEnvelope = await transport.securedRequest(
uri,
soap.Body(
request: DeviceManagementRequest.systemReboot(),
));
if (responseEnvelope.body.hasFault) {
throw Exception(responseEnvelope.body.fault.toString());
}
return SystemRebootResponse.fromJson(responseEnvelope.body.response!)
.message;
}