TarHeader constructor

const TarHeader({
  1. required TarEntryType entryType,
  2. required Uint8List bytes,
  3. required Uint8List pathBytes,
  4. String? path,
  5. Uint8List? linkNameBytes,
  6. String? linkName,
  7. int? mode,
  8. BigInt? uid,
  9. BigInt? gid,
  10. BigInt? mtime,
  11. Uint8List? usernameBytes,
  12. String? username,
  13. Uint8List? groupnameBytes,
  14. String? groupname,
  15. int? deviceMajor,
  16. int? deviceMinor,
  17. int? cksum,
  18. required List<String> formatErrors,
})

Implementation

const TarHeader({
  required this.entryType,
  required this.bytes,
  required this.pathBytes,
  this.path,
  this.linkNameBytes,
  this.linkName,
  this.mode,
  this.uid,
  this.gid,
  this.mtime,
  this.usernameBytes,
  this.username,
  this.groupnameBytes,
  this.groupname,
  this.deviceMajor,
  this.deviceMinor,
  this.cksum,
  required this.formatErrors,
});