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.
val key: K |
|
val valueAssertionCreatorOrNull: (Expect<V>.() -> Unit)? |
fun toPair(): Pair<K, (Expect<V>.() -> Unit)?> |
|
fun toString(): String |