
We were trying to only catch WebSocketException, but in fact SocketException can be thrown as well.
Flutter tools
Tools for building Flutter applications.
To run the tests, ensure that no devices are connected,
then navigate to flutter_tools
and execute:
../../bin/cache/dart-sdk/bin/pub run test -j1