getMetadataConfigurations method Null safety
This operation lists all existing metadata configurations. The client need not know anything priori about the metadata in order to use the command.
Implementation
Future<List<Configuration>> getMetadataConfigurations() async {
loggy.debug('getMetadataConfigurations');
final envelope = await Soap.retrieveEnvelope(
uri, onvif.secureRequest(SoapRequest.metadataConfigurations()));
if (envelope.body.metadataConfigurationsResponse == null) throw Exception();
return envelope.body.metadataConfigurationsResponse!.configurations;
}