updateProperty method
Updates the property named name
with a newValue
.
The name
must be the same used in this.toMap()
Implementation
@protected
void updateProperty(String name, {dynamic newValue}) {
TouchBarPlatform.instance.setTouchBarItem(
id: this.id,
type: this.type,
dataChanges: {
name: newValue,
},
);
}