append method
Appends the line
to the file
If newline
is true then append a newline after the line.
Implementation
void append(String line, {String? newline = '\n'}) {
final finalline = line + (newline ?? '');
_raf
..setPositionSync(_raf.lengthSync())
..writeStringSync(finalline);
}