removeAttribute method

void removeAttribute(
  1. String name
)

Implementation

void removeAttribute(String name) {
  doc.sendChanges({
    "documentID": doc.id,
    "changes": [
      {
        "nodeID": id,
        "removeAttributes": [name],
      },
    ],
  });
}