setIcon

abstract suspend fun setIcon(newIcon: Item): Function

Sets the icon item for this function.

Return

the updated Function instance

Parameters

newIcon

the Item to use as the icon