resetIDLookup method
void
resetIDLookup()
Reset the idLookup table. If it is subsequently accessed, it will be rebuilt automatically, in an O(n) operation on the number of nodes in the DOM.
Client code can change the DOM,
adding or removing nodes, or changing the id
values of nodes.
The lookup table is not automatically reset when this
happens. After one or more such modifications, client code
should call this method if it plans to subsequently look up
nodes by name.
Implementation
void resetIDLookup() {
_idLookup = null;
}