destroy method
Close the websocket connection.
Implementation
Future<void> destroy() async {
await channel.sink.close(status.normalClosure);
}
Close the websocket connection.
Future<void> destroy() async {
await channel.sink.close(status.normalClosure);
}