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