done property

Future get done
inherited

A future that will complete when the consumer closes, or when an error occurs.

This future is identical to the future returned by close.

Documentation inherited from IOSink.done.

Implementation

Future get done => _sink.done;