getDirectiveSource method

ProviderSource? getDirectiveSource(
  1. CompileDirectiveMetadata? directive
)

Implementation

ProviderSource? getDirectiveSource(CompileDirectiveMetadata? directive) =>
    directive != null
        ? _providers.get(identifierToken(directive.type))
        : null;