setAttribute method

void setAttribute(
  1. String name,
  2. String value,
  3. {String namespace}
)
inherited

Set the attribute value with the given fully qualified name to value. If an attribute with the name already exist, its value is updated. If the value is null, the attribute is removed.

Implementation

void setAttribute(String name, String value, {String namespace}) =>
    throw UnsupportedError('$this has no attributes.');