close method

void close()

Abandon the call if still live (RST); no-op once terminated.

Implementation

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