write method
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);
}
Append to the content.
The string value of obj
is appended to make up the body.
void write(Object obj) {
if (_contentOutputted) {
throw StateError('Content already outputted');
}
_buf.write(obj);
}