inject

inline fun <Type : Any> inject(): Type

Provides instance of the selected type.

Return

instance of the class with the selected type if a provider is present in the context.

Throws

if no provider is registered for the selected type.