clear Flags If
Clears the flags of the ItemBuilder object if the provided condition is true.
Return
the ItemBuilder object with the flags cleared if the condition is true, otherwise returns the object as is
Parameters
condition
the condition that determines whether to clear the flags