void remove(String name)

Removes the attribute name if it was present.

Throws an ArgumentError if name is null.

Source

void remove(String name);