close method
Awaits in-flight writes and blocks further dispatches.
Implementation
Future<void> close() async {
_closed = true;
await flush();
}
Awaits in-flight writes and blocks further dispatches.
Future<void> close() async {
_closed = true;
await flush();
}