removePreset method Null safety
Operation to remove a PTZ preset for the Node in the selected profile. The operation is supported if the PresetPosition capability exists for the Node in the selected profile.
Implementation
Future<bool> removePreset(String profileToken,
{required Preset preset}) async {
loggy.debug('removePreset');
final envelope = await transport.sendRequest(
uri,
transport.securedEnvelope(
soap.PtzRequest.removePreset(profileToken, preset: preset)));
return envelope.body.response?.containsKey('RemovePresetResponse') ?? false;
}