##### Worker class

1. Constructors
2. Worker
3. Properties
4. onError
5. onMessage
6. hashCode
7. on
8. runtimeType
9. Methods
10. postMessage
11. terminate
12. addEventListener
13. dispatchEvent
14. noSuchMethod
15. removeEventListener
16. toString
17. Operators
18. operator ==
19. Static properties
20. supported
21. Constants
22. errorEvent
23. messageEvent

# onMessage property

Stream<MessageEvent> onMessage

Stream of `message` events handled by this Worker.

## Implementation

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