onFlush method Null safety

  1. @visibleForOverriding
Future<void> onFlush()

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();