1. Dart
2. dart:html
3. WebSocket
4. supported property

##### WebSocket class

1. Constructors
2. WebSocket
3. Properties
4. binaryType
5. bufferedAmount
6. extensions
7. onClose
8. onError
9. onMessage
10. onOpen
11. protocol
12. readyState
13. url
14. hashCode
15. on
16. runtimeType
17. Methods
18. close
19. send
20. sendBlob
21. sendByteBuffer
22. sendString
23. sendTypedData
24. addEventListener
25. dispatchEvent
26. noSuchMethod
27. removeEventListener
28. toString
29. Operators
30. operator ==
31. Static properties
32. supported
33. Constants
34. CLOSED
35. closeEvent
36. CLOSING
37. CONNECTING
38. errorEvent
39. messageEvent
40. OPEN
41. openEvent

description

# supported property

bool supported

Checks if this type is supported on the current platform.

## Implementation

    static bool get supported =>
        JS('bool', 'typeof window.WebSocket != "undefined"');