buildItem

inline fun buildItem(block: MutableItem.() -> Unit): Item

Builds a new immutable Item by populating a MutableItem using the provided block and returning a read-only copy of it.

Parameters

block

The block to apply to the MutableItem builder