mvrx-mocking / com.airbnb.mvrx.mocking / DataClassSetDsl / NestedProperty

NestedProperty

open class NestedProperty<Type : Any, NestedType> : KProperty0<NestedType>

Represents two properties that are associated by a nested object hierarchy.

Constructors

<init>

NestedProperty(wrapperProperty: KProperty0<Type>, nestedProperty: KProperty0<NestedType>)

Represents two properties that are associated by a nested object hierarchy.

Properties

nestedProperty

val nestedProperty: KProperty0<NestedType>

The property that this class represents.

wrapperProperty

val wrapperProperty: KProperty0<Type>

A property whose type contains the nestedProperty

Functions

buildSetter

open fun buildSetter(): DataClassSetDsl.Setter<Type, NestedType>