FileTreeItem constructor
const
FileTreeItem({})
Implementation
const FileTreeItem({
required this.name,
this.isFolder = false,
this.isOpen = false,
this.isHighlighted = false,
this.comment,
this.children = const [],
}) : assert(children.length > 0 || !isOpen, 'Only items with children can be open.');