id

val id: Long = 0

An optional identifier of the bar. This allows to save the selected element each time the model is updated.

If not set, the selection will be dropped each time when you set new model.