onMessage property

Stream<MessageEvent> get onMessage

Stream of message events handled by this WebSocket.

Implementation

Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);