getDeviceInformation method Null safety
This operation gets basic device information from the device.
Implementation
Future<GetDeviceInformationResponse> getDeviceInformation() async {
loggy.debug('getDeviceInformation');
final envelope = await Soap.retrieveEnvelope(
uri, onvif.secureRequest(SoapRequest.deviceInformation()));
if (envelope.body.deviceInformationResponse == null) throw Exception();
return envelope.body.deviceInformationResponse!;
}