NiceFileItem constructor

const NiceFileItem({
  1. required String id,
  2. required String name,
  3. required NiceFileType type,
  4. int? size,
  5. DateTime? modifiedDate,
  6. String? extension,
  7. String? path,
  8. List<NiceFileItem>? children,
  9. bool isExpanded = false,
  10. Map<String, dynamic>? metadata,
})

Implementation

const NiceFileItem({
  required this.id,
  required this.name,
  required this.type,
  this.size,
  this.modifiedDate,
  this.extension,
  this.path,
  this.children,
  this.isExpanded = false,
  this.metadata,
});