Element.div constructor Null safety

Element.div()

Creates a new <div> element.

This is equivalent to calling new Element.tag('div').

Implementation

factory Element.div() => new DivElement();