##### SynchronousStreamController class

1. Constructors
2. SynchronousStreamController
3. Properties
4. done
5. hashCode
6. hasListener
7. isClosed
8. isPaused
9. onCancel
10. onListen
11. onPause
12. onResume
13. runtimeType
14. sink
15. stream
16. Methods
17. add
18. addError
19. close
20. addStream
21. noSuchMethod
22. toString
23. Operators
24. operator ==

# close method

Future close ()

Closes the controller's stream.

As StreamController.close, but must not be called while an event is being added by add, addError or close.

## Implementation

    Future close();