withDefault
fun <T> OptionalStringValueDelegate<T>.withDefault(defaultValue: T): DefaultStringValueDelegate<T>(source)
fun <T> OptionalStringValueDelegateProvider<T>.withDefault(defaultValue: T): DefaultStringValueDelegateProvider<T>(source)
Adds a default value to the specified delegate. If the string-value has not been set before, defaultValue is returned instead of null.