void dispose()

Releases the resources used by this semantics update.

After calling this function, the semantics update is cannot be used further.

Source

void dispose() native "SemanticsUpdateBuilder_dispose";