DefaultValueConverter

class DefaultValueConverter<V : Any>(val defaultValue: V) : Converter<V?, V>

Converts between an Optional property and a non-Optional property, using a default value when the Optional property's value is null.

Constructors

Link copied to clipboard
constructor(defaultValue: V)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun backwards(value: V): V
Link copied to clipboard
open override fun forwards(value: V?): V