flushSync abstract method Null safety

void flushSync()

Synchronously flushes the contents of the file to disk.

Throws a FileSystemException if the operation fails.

Implementation

void flushSync();