reset method

void reset()

Reset the builder and make it ready for filling a new buffer.

Implementation

void reset() {
  _finished = false;
  _maxAlign = 1;
  _tail = 0;
  _currentVTable = null;
  if (deduplicateTables) _vTables.clear();
  if (_strings != null) {
    _strings = <String, int>{};
  }
}