destroy method
Implementation
@override
void destroy() {
mWebSocketConnections.forEach((key, connection) {
connection._channel?.sink.close(status.goingAway);
});
mWebSocketConnections.clear();
}
@override
void destroy() {
mWebSocketConnections.forEach((key, connection) {
connection._channel?.sink.close(status.goingAway);
});
mWebSocketConnections.clear();
}