webSocket top-level property

dynamic get webSocket

Provides the API for creating and managing a WebSocket connection to a server, as well as for sending and receiving data on the connection.

MDN Reference

Implementation

_i2.dynamic get webSocket => _i4.getProperty(
      _self,
      'WebSocket',
    );