close method

void close()

Implementation

void close() {
  if (!_closeRequested) {
    _closeRequested = true;
    assert(!_closed.isCompleted);
    _output.close();
    _closed.complete();
  }
}