feature

fun feature(feature: Feature)(source)

Adds a pre-built Feature to this builder.

Parameters

feature

The Feature instance to add


fun feature(uid: String, block: FeatureBuilder.() -> Unit)(source)

Creates and adds a Feature inline using the DSL.

Parameters

uid

Unique identifier of the feature

block

DSL block to configure the FeatureBuilder