writeAsStringSync method
Synchronously write the given content
to the file. The new content will
replace any existing content.
Throws a FileSystemException
if the operation fails.
Implementation
@override
void writeAsStringSync(String content) {
file.writeAsStringSync(content);
}