addPropertyListener method

void addPropertyListener(
  1. PropertyChangedListener listener
)

Adds a listener that when called returns the string name of a property that has changed as a parameter.

Implementation

void addPropertyListener(PropertyChangedListener listener) {
  _listeners?.add(listener);
}