writeAsBytesSync method
Synchronously write the given bytes
to the file. The new content will
replace any existing content.
Throws a FileSystemException
if the operation fails.
Implementation
@override
void writeAsBytesSync(List<int> bytes) {
file.writeAsBytesSync(bytes);
}