close method
Ends the stream once the writes already issued have finished. Closing again does nothing more and completes with the first close.
Implementation
Future<void> close() => _closing ??= _close();
Ends the stream once the writes already issued have finished. Closing again does nothing more and completes with the first close.
Future<void> close() => _closing ??= _close();