readyState property - WebSocket class - dart:io library
description
Returns the current state of the connection.
int get readyState;