write method

void write (Object obj)

Append to the content.

Implementation

void write(Object obj) {
  if (_contentOutputted) {
    throw new StateError("Content already outputted");
  }
  _buf.write(obj);
}