clear method Null safety

void clear ()

Clears the contents of this builder.

The current contents are discarded and this builder becomes empty.

Implementation

void clear();