appendFromSync method
Appends content of file
at the end of this
file.
Implementation
void appendFromSync(File file) {
final fileAccess = openSync(mode: FileMode.writeOnlyAppend);
fileAccess.writeFromSync(file.readAsBytesSync().toList());
fileAccess.closeSync();
}