onFlush method Null safety
visibleForOverriding">@visibleForOverriding
Flushes any buffered data to the underlying consumer, and returns a future that completes once the consumer has accepted all data.
Implementation
@visibleForOverriding
Future<void> onFlush();