required

inline fun <T> required(name: String? = null, description: String = ""): RequiredProperty<T>

Specify a required item in this config spec.

Return

a property of a required item with prefix of this config spec

Parameters

name

item name without prefix

description

description for this item

Sources

jvm source
Link copied to clipboard