appendBytesSync method

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

Synchronously appends an array of bytes to the end of this file.

Also see appendBytes.

Implementation

void appendBytesSync(List<int> bytes, {bool flush = true}) {
  writeAsBytesSync(bytes, mode: FileMode.writeOnlyAppend, flush: flush);
}