toSettingKey

inline fun <T : SettingKey> DynamicConfigurationKey.toSettingKey(scope: SettingScope, prefix: String): T

Converts the DynamicConfigurationKey instance to a SettingKey of the same type with the given scope and prefix.

The SettingKey.id of the returned SettingKey is set to the DynamicConfigurationKey.id. The ID is prefixed with the given prefix followed by a period.