getCompatibleConfigurations method Null safety
- String profileToken
Implementation
Future<List<PtzConfiguration>> getCompatibleConfigurations(
String profileToken) async {
loggy.debug('getCompatibleConfigurations');
final envelope = await Soap.retrieveEnvelope(
uri,
onvif.secureRequest(
SoapRequest.getCompatibleConfigurations(profileToken)));
if (envelope.body.compatibleConfigurationsResponse == null) {
throw Exception();
}
return envelope.body.compatibleConfigurationsResponse!.ptzConfigurations;
}