dart / 2 / dart-io / socket / done.html

done property

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

Future get done;

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/Socket/done.html