ProviderContextExtensions extension

on

Methods

get<T>({bool? watch}) → T
Retrieves the value of the requested type T or throws ProvidedValueNotFoundException when it can't be provided.
getOrNull<T>({bool? watch}) → T?
Retrieves the value of the requested type T or returns null when it can't be provided.