PropertiesBuilder
DSL builder for defining multiple Property instances in a single block.
Use this builder inside a ff4k or other DSL block to group property definitions. You can add:
pre-built Property objects, or
inline properties using the DSL.
Example
val properties = PropertiesBuilder().apply {
property("max-retries") {
value = 3
description = "Maximum retry attempts"
}
property(PropertyString("api-key", "secret"))
}.build()Content copied to clipboard