Future close()

in lib/src/disconnector.dart [128:135]


  Future<void> close() {
    if (_inAddStream) {
      throw StateError('Cannot close sink while adding stream.');
    }

    _closed = true;
    return _inner.close();
  }