FileOptions constructor

const FileOptions({
  1. FileMode mode = FileMode.read,
  2. bool create = true,
  3. bool truncate = false,
  4. bool exclusive = false,
  5. bool direct = false,
  6. Durability durability = Durability.none,
  7. PerformanceProfile profile = PerformanceProfile.auto,
  8. int readAhead = 0,
})

Implementation

const FileOptions({
  this.mode = FileMode.read,
  this.create = true,
  this.truncate = false,
  this.exclusive = false,
  this.direct = false,
  this.durability = Durability.none,
  this.profile = PerformanceProfile.auto,
  this.readAhead = 0,
});