done property Null safety

Future 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.

Implementation

Future get done => _sink.done;