inline fun <reified R : Any> injectProviderOrNull(qualifier: Any? = null, generics: Boolean = false): InjectedProperty<Provider<R>?>
Creates a property delegate for an optional Provider of type R
.
qualifier
- An optional qualifier.
generics
- Preserve generic type parameters.
Return
The created InjectedProperty.