change method

NodeBuilder change({
  1. String? tagName,
  2. Map<String, dynamic>? attributes,
  3. Iterable<Node>? children,
})

Produce a modified copy of this builder.

Implementation

NodeBuilder change(
    {String? tagName,
    Map<String, dynamic>? attributes,
    Iterable<Node>? children}) {
  return NodeBuilder(tagName ?? this.tagName,
      attributes: attributes ?? this.attributes,
      children: children ?? this.children);
}