##### ServiceWorker class

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

# onError property

Stream<Event> onError

Stream of `error` events handled by this AbstractWorker.

## Implementation

    Stream<Event> get onError => errorEvent.forTarget(this);