setAttribute abstract method
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});