elementInjectionType method

String? elementInjectionType(
  1. Element element
)

Implementation

String? elementInjectionType(Element element) {
  for (var metadataElement in element.metadata.annotations) {
    if (decorators.contains(metadataElement.toSource())) {
      return metadataElement.toSource();
    }
  }
  return null;
}