Element constructor

Element(
  1. String tag,
  2. List<Node>? children
)

Instantiates a tag Element with children.

Implementation

Element(this.tag, this.children) : attributes = {};