close method

void close()

Abandon this stream (RST CANCELLED unless completed).

Implementation

void close() => _stream.close();