flush method

  1. @override
Future<RandomAccessFile> flush()
override

Flushes the contents of the file to disk.

Returns a Future<RandomAccessFile> that completes with this random access file when the flush operation completes.

Implementation

@override
Future<io.RandomAccessFile> flush() async {
  await delegate.flush();
  return this;
}