setAttribute method
Implementation
void setAttribute(String name, dynamic value) async {
_attributes[name] = value;
client.protocol.send("set_attributes", packMessage({name: value})).catchError((err) {
Logger.root.log(Level.WARNING, "Unable to send attribute changes", err);
});
}