convertDirectiveToIR method
Implementation
ir.Directive convertDirectiveToIR(CompileDirectiveMetadata directiveMeta) =>
ir.Directive(
name: directiveMeta.identifier!.name,
typeParameters: directiveMeta.originType!.typeParameters,
hostProperties:
_hostProperties(directiveMeta.hostProperties, directiveMeta),
metadata: directiveMeta,
);