setAttribute method
- String name,
- String value
Adds a text attribute.
Implementation
void setAttribute(String name, String value) {
operations.add({
ATTRIBUTE_OPERATION_TYPE: ATTRIBUTE_OPERATION_SET,
ATTRIBUTE_OPERATION_KEY: name,
ATTRIBUTE_OPERATION_VALUE: value,
ATTRIBUTE_OPERATION_VALUE_TYPE: "string"
});
}