DirectoryItem constructor

DirectoryItem({
  1. required String name,
  2. int? size,
  3. required DirectoryItemType type,
  4. required String path,
  5. String? longname,
  6. List<int>? nativePath,
  7. bool? isSymbolicLink = false,
  8. int? flags = 0,
  9. int? atime = 0,
  10. int? mtime = 0,
  11. int? createtime = 0,
  12. int? permissions = 0,
})

Implementation

DirectoryItem({
  required this.name,
  this.size,
  required this.type,
  required this.path,
  this.longname,
  this.nativePath,
  this.isSymbolicLink = false,
  this.flags = 0,
  this.atime = 0,
  this.mtime = 0,
  this.createtime = 0,
  this.permissions = 0,
});