rikulo / socket.io-client-dart

socket.io-client-dart: Dartlang port of socket.io-client https://github.com/socketio/socket.io-client
https://quire.io
MIT License
675 stars 184 forks source link

Null check operator used on a null value #219

Open kevin4dhd opened 3 years ago

kevin4dhd commented 3 years ago

I am testing this library, and when I run I get the following error in connect_error

image

No tengo ni idea de porque ocurre este error

kevin4dhd commented 3 years ago

I managed to catch the error

0 _WebSocketImpl.connect. (dart:_http/websocket_impl.dart:1065:60) #1 _rootRunUnary (dart:async/zone.dart:1362:47) #2 _CustomZone.runUnary (dart:async/zone.dart:1265:19) #3 IOWebSocketTransport.doOpen (package:socket_io_client/src/engine/transport/io_websocket_transport.dart:42:12)

jumperchen commented 3 years ago

FYI: https://github.com/rikulo/socket.io-client-dart#usage-flutter