##### EventSink class

1. Constructors
2. EventSink
3. Properties
4. hashCode
5. runtimeType
6. Methods
7. add
8. addError
9. close
10. noSuchMethod
11. toString
12. Operators
13. operator ==

# addError method

void addError (Object error, [ StackTrace stackTrace ])

Adds an `error` to the sink.

Must not be called on a closed sink.

## Implementation

    void addError(Object error, [StackTrace stackTrace]);