ListItem

data class ListItem(val blocks: List<Block>, val checked: Boolean? = null) : Block

A single list item, containing one or more block nodes.

Constructors

Link copied to clipboard
constructor(blocks: List<Block>, checked: Boolean? = null)

Properties

Link copied to clipboard

the block nodes inside this list item.

Link copied to clipboard
val checked: Boolean? = null

task list checkbox state: true = checked ([x]), false = unchecked ([ ]), null = not a task list item.