getViewFactoryName function

String getViewFactoryName(
  1. CompileDirectiveMetadata component,
  2. int index
)

Returns the name of a component view factory for index.

Each generated view of component, be it component, host, or embedded has an associated index that is used to distinguish between embedded views.

Implementation

String getViewFactoryName(CompileDirectiveMetadata component, int index) =>
    _viewFactoryName(component.type.name, index);