Open
Description
dart:io.WebSocket.readyState doesn't say what the range of its values is. The constants on WebSocket have no documentation at all. (One presumes these are related.)
Neither the methods on the class, nor the class itself, mention what exceptions one might experience when dealing with a WebSocket object.