Synchronously flushes the contents of the file to disk.
Throws a FileSystemException if the operation fails.
Source
/**
* Synchronously flushes the contents of the file to disk.
*
* Throws a [FileSystemException] if the operation fails.
*/
void flushSync();