createDynamicInjectionSource method

  1. @override
ProviderSource createDynamicInjectionSource(
  1. ProviderResolver? providersNode,
  2. ProviderSource? source,
  3. CompileTokenMetadata? token,
  4. 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,
  );
}