Latest versions of socket io server and client are incompatible with each other. My IO server on JS side is ^4 hence I need to use socket_io_client: ^2.0.0-beta.2 for compatibility. But I want to test my dart client by mocking the server at dart side using socket_io (dev dependency would also do). How can I achieve this.? Apart from the version issues, suggestions on good practice to test sockets locally in dart whose actual server resides on JS, would be appreciated .
Thanks.
Rushabh.