close method

Future<void> close()

Closes our side of the channel. Returns a Future that completes when both sides of the channel are closed.

Implementation

Future<void> close() => _controller.close();