Element constructor

Element(
  1. String tag, {
  2. Map<String, dynamic> attributes = const {},
  3. Map<String, Function> events = const {},
  4. List<Node> children = const [],
  5. bool selfClosing = false,
})

Implementation

Element(
  this.tag, {
  this.attributes = const {},
  this.events = const {},
  this.children = const [],
  this.selfClosing = false,
});