addPropertyListener method
Adds a listener that when called returns the string name of a property that has changed as a parameter.
Implementation
void addPropertyListener(PropertyChangedListener listener) {
if (_listeners != null) {
_listeners!.add(listener);
}
}