applyUpdate

fun applyUpdate(func: DashConfig.Update.() -> Unit)

Creates a DashConfig.Update and immediately applies the changes.

When used, all values from the original DashConfig are preserved and only the mutations are applied and reflected in a new config instance.


fun applyUpdate(update: DashConfig.Update)

Applies changes found in the provided update. To create an update, reference config and use DashConfig.update.

When used, all values from the original DashConfig are preserved and only the mutations are applied and reflected in a new config instance.