flush method

Future<SegmentInfo?> flush()

Async facade over flushSync.

Implementation

Future<SegmentInfo?> flush() async => flushSync();