h function

Node h(
  1. String tagName, [
  2. Map<String, dynamic> attributes = const {},
  3. Iterable<Node> children = const []
])

Shorthand function to generate a new Node.

Implementation

Node h(String tagName,
        [Map<String, dynamic> attributes = const {},
        Iterable<Node> children = const []]) =>
    Node(tagName, attributes, children);