done property

Future done

Completes when the underlying input stream has been read and completed.

Implementation

Future get done async {
  await _doneCompleter.future;
}