setItem

fun setItem(name: String, item: dynamic): Boolean

Add or update an entry. The item has a type of "icon", "alias" or "variation".

Returns false when the parent of an alias or variation does not exist.