supported property - WebSocket class - dart:html library (original) (raw)
bool getsupported
Checks if this type is supported on the current platform.
Implementation
static bool get supported =>
JS('bool', 'typeof window.WebSocket != "undefined"');