onFlush method Null safety

  1. @visibleForOverriding
Future<void> onFlush()
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();