setProperty method
Implementation
Object? setProperty(Element element, String key, Object? value) {
var elemProps = _elementsProperties[element];
if (elemProps == null) {
_elementsProperties[element] = elemProps = {};
}
var prev = elemProps[key];
elemProps[key] = value;
return prev;
}