onMessage property

Stream<MessageEvent> onMessage

Stream of message events handled by this Worker.

Implementation

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