close method

Future close()

Stops any more messages from being sent.

Implementation

Future close() => _onDone.call();