gh-pages / com.nextfaze.devfun.invoke / UiFunction / parameters

parameters

abstract val parameters: List<Parameter> (source)

The parameters of the function.

Example usage from shared preferences dialog:

class Preference(key: String, override var value: Any) : Parameter, WithInitialValue<Any>, WithNullability {
    override val name: String = key
    override val type = value::class
}