Org Tree Item
data class OrgTreeItem(val uid: String, val label: String, var isOpen: Boolean = true, val hasChildren: Boolean = false, val selected: Boolean = false, val level: Int = 0, val selectedChildrenCount: Int = 0, val canBeSelected: Boolean = true)
Data class used for OrgBottomSheet used to hold information on Organisation Units.
Parameters
uid
: the item uid.
label
: item label.
is Open
: whether the org unit is open or not.
has Children
: whether the org unit has children or not.
selected
: whether the org unit is selected or not.
level
: the hierarchy level of the item.
selected Children Count
: number of selected children.
can Be Selected
: whether the item is selectable or not.