getValue

inline suspend fun <T : Any> ConfigCatClient.getValue(key: String, defaultValue: T, user: ConfigCatUser? = null): T(source)

Gets the value of a feature flag or setting as T identified by the given key. In case of any failure, defaultValue will be returned. The user param identifies the caller.