BuilderProperty

class BuilderProperty<T>(val adapter: Adapter<T>)

A property delegate that stores the given property as it would be serialized in a Json This is needed in Data Builders because the serializer only work from Json

Constructors

Link copied to clipboard
constructor(adapter: Adapter<T>)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
operator fun getValue(thisRef: ObjectBuilder<*>, property: KProperty<*>): T
Link copied to clipboard
operator fun setValue(thisRef: ObjectBuilder<*>, property: KProperty<*>, value: T)