appendBytes method
Appends an array of bytes
to the end of this file.
Implementation
Future<void> appendBytes(List<int> bytes) async {
final sink = openWrite(mode: FileMode.writeOnlyAppend);
sink.add(bytes);
await sink.flush();
await sink.close();
}