ReleaseFile constructor

ReleaseFile(
  1. String filePath,
  2. Object data, {
  3. DateTime? time,
  4. bool executable = false,
  5. bool compressed = false,
})

Implementation

ReleaseFile(String filePath, Object data,
    {DateTime? time, this.executable = false, this.compressed = false})
    : filePath = normalizePath(filePath),
      _data = toBytes(data),
      time = time ?? DateTime.now();