I\'m trying to make auto-reconnect work in Flutter/Dart\'s WebSockets using the following implementation:
class WebsocketService { IOWebSocketChannel channel;