end method

void end()

Marks that the addition of values to the last vector, or map have ended.

Implementation

void end() {
  final pointer = _stackPointers.removeLast();
  if (pointer.isVector) {
    _endVector(pointer);
  } else {
    _sortKeysAndEndMap(pointer);
  }
}