providesDefault

infix fun providesDefault(value: T): ProvidedValue<T>

Associates an ambient key to a value in a call to Providers if the key does not already have an associated value.

See also