KeyWithValueCreator

data class KeyWithValueCreator<out K, V : Any>(source)

Parameter object to express a key/value Pair whose value type is a nullable lambda with an Expect receiver, which means one can either pass a lambda or null.

Use the function keyValue(x) { ... } to create this representation.

Properties

Link copied to clipboard
val key: K
Link copied to clipboard

Functions

Link copied to clipboard
fun toPair(): Pair<K, Expect<V>.() -> Unit?>
Link copied to clipboard
open override fun toString(): String