closed property
Future<void>
get
closed
Allows you to write code that responds to an end to the streaming process. Returns a Future that fulfills if the stream becomes closed, or rejects if the stream errors or the writer's lock is released.
Implementation
Future<void> get closed => promiseToFuture(getProperty(this, "closed"));