destroy method

  1. @override
void destroy()
override

Destroys the socket in both directions.

Implementation

@override
void destroy() {
  _channel.destroy();
}