ProviderContextExtensions extension
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 returnsnull
when it can't be provided.