type 'String' is not a subtype of type 'int' of 'index'
The following _TypeError was thrown: type 'String' is not a subtype of type 'int' of 'index'
When the exception was thrown, this was the stack:
#0 Socket.onpacket (package:socket_io_client/src/socket.dart:398:53)
#1 EventEmitter._emit.
pubspec.yaml socket_io_client: ^3.0.0-beta.1
flutter doctor
any reproducible example? or please test with the latest 3.0.0-beta.4 version to give it a try.
I have the same issue, but it's not the problem with this client.
If we have incompatible socket server version (1.7.0 in my case), and client version is (3.0.2), then we are getting the same error. After changing the server to be compatible with client version (both server, client are same), then the problem is solved.