insert method
Implementation
void insert(int offset, Object? obj) {
_initBuffer();
super.clear();
if (offset > 0) super.write(_buffer!.substring(0, offset));
_writeAuto(obj);
if (offset < _buffer!.length) super.write(_buffer!.substring(offset));
_buffer = null;
}