1. Dart
2. dart:html
3. MessagePort
4. onMessage property

##### MessagePort class

1. Properties
2. hashCode
3. on
4. onMessage
5. runtimeType
6. Methods
7. addEventListener
8. close
9. dispatchEvent
10. noSuchMethod
11. postMessage
12. removeEventListener
13. toString
14. Operators
15. operator ==
16. Constants
17. messageEvent

description

# onMessage property Null safety

Stream<MessageEvent> onMessage

Stream of `message` events handled by this MessagePort.

## Implementation

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