write method

void write(
  1. Object obj
)

Append to the content.

The string value of obj is appended to make up the body.

Implementation

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