Element.empty constructor

Element.empty(
  1. String tag
)

Instantiates an empty, self-closing tag Element.

Implementation

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