createDynamicInjectionSource method
ProviderSource
createDynamicInjectionSource(
- ProviderResolver? providersNode,
- ProviderSource? source,
- CompileTokenMetadata? token,
- bool optional,
override
Creates ProviderSource to call injectorGet on parent view that contains source NodeProviders.
Implementation
@override
ProviderSource createDynamicInjectionSource(
ProviderResolver? providersNode,
ProviderSource? source,
CompileTokenMetadata? token,
bool optional,
) {
return DynamicProviderSource(
token,
this,
providersNode,
source,
isOptional: optional,
);
}