normalizeDirective method
Implementation
Future<CompileDirectiveMetadata> normalizeDirective(
CompileDirectiveMetadata directive,
) async {
if (!directive.isComponent) {
return directive;
}
return CompileDirectiveMetadata.from(
directive,
template: await _normalizeTemplate(
directive.type,
directive.template,
),
);
}