orNullIfUnset

Returns the supplied collection, or null if the group must not be touched (PatchField.Unset).

Value(null) becomes an empty collection, which unlike null means "remove all children". The receiver is declared with a nullable collection for the same reason as in toTargetIdsOrNull.