readyState property
num
get
readyState
Returns the state of the WebSocket object's connection. It can have the values described below.
Implementation
_i2.num get readyState => _i4.getProperty(
this,
'readyState',
);