done property

  1. @override
Future done
override

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

@override
Future get done => _done.future;