withAttribute method

void withAttribute(
  1. String namespace,
  2. String name,
  3. String expression
)

Sets an arbitrary namespaced attribute namespace:name.

Implementation

void withAttribute(String namespace, String name, String expression) =>
    attributes['$namespace:$name'] = expression;