writeReference abstract method

void writeReference(
  1. Element element
)

Write the code that references the element. If the element is a top-level element that has not been imported into the current library, imports will be updated.

Implementation

void writeReference(Element element);