idLookup property

Map<String, SvgNode> get idLookup

A table used to look up nodes by their string ID. Note that this table is not rebuilt automatically if the SvgDOM is modified programmatically. See resetIDLookup.

Implementation

Map<String, SvgNode> get idLookup {
  var r = _idLookup;
  if (r == null) {
    _idLookup = r = {};
    root._addIDs(r);
  }
  return r;
}