tempWrite static method

void tempWrite(
  1. Uint8List data, {
  2. String ext = ".tmp",
})

Implementation

static void tempWrite(Uint8List data, {String ext = ".tmp"}) {
  File f = tempFile(ext: ext);
  f.writeAsBytesSync(data, flush: true);
}