setOrRemoveProperties method
Sets or removes the given props
with the given propertyName
Implementation
void setOrRemoveProperties(
final String propertyName,
final List<Property>? props,
) {
if (props != null) {
setProperties(propertyName, props);
} else {
removeProperty(propertyName);
}
}