setAttribute method

NodeBuilder setAttribute(
  1. String name,
  2. dynamic value
)

Implementation

NodeBuilder setAttribute(String name, dynamic value) =>
    changeAttributesMapped((map) => map..[name] = value);