TarFile constructor

const TarFile(
  1. String path,
  2. List<int> bytes, {
  3. int mode = 420,
})

A regular file at path with bytes; mode is the Unix permission (0644 by default).

Implementation

const TarFile(this.path, this.bytes, {this.mode = 420});