WriteSetBuilder

Builder for WriteSet; the receiver of the writeSet lambda.

Functions

Link copied to clipboard
inline fun <M : Any> set(model: M)

Stages model as the new instance for model type M. A later set for the same type overrides an earlier one.

fun <M : Any> set(modelClass: KClass<M>, model: M)

Non-reified overload of set for callers holding a KClass.