writeReference2 abstract method

  1. @experimental
void writeReference2(
  1. Element2 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

@experimental
void writeReference2(Element2 element);