close method

dynamic close()

Implementation

close() {
  if (_socket != null) _socket.sink.close();
}