appendBytes method

Future<void> appendBytes(
  1. List<int> bytes, {
  2. bool flush = true,
})

Appends an array of bytes to the end of this file.

Implementation

Future<void> appendBytes(List<int> bytes, {bool flush = true}) async {
  await writeAsBytes(bytes, mode: FileMode.writeOnlyAppend, flush: flush);
}