)
Synchronously writes a single string to the file using the given Encoding.
Throws a FileSystemException if the operation fails.
Source
/**
* Synchronously writes a single string to the file using the given
* [Encoding].
*
* Throws a [FileSystemException] if the operation fails.
*/
void writeStringSync(String string,
{Encoding encoding: UTF8});