updateRefToElement method

void updateRefToElement(
  1. Element defs
)

Implementation

void updateRefToElement(Element defs) {
  for (var elem in getAllChildNodesWithID(defs)) {
    var id = elem.attributes['id']!;
    refToElement[id] = elem;
  }
}