add method
Appends bytes to the body; commits the response first if needed.
Implementation
@override
void add(List<int> bytes) {
if (isClosed) {
throw StateError('The response is closed');
}
_commit();
_body.add(bytes);
_chunks.add(bytes);
}