setReference method

void setReference(
  1. Element element
)

Function used to set the current element reference, used to measure state.

Implementation

void setReference(Element element) {
  _reference = element;
}