writeReference abstract method

void writeReference(
  1. Element element
)

Writes 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);