notifyPropertyChange<T> method
T
notifyPropertyChange<T>(
- K field,
- T oldValue,
- T newValue
Implementation
T notifyPropertyChange<T>(
K field,
T oldValue,
T newValue,
) {
if (hasObservers && oldValue != newValue) {
notifyChange(
PropertyChangeRecord<T, K>(
this,
field,
oldValue,
newValue,
),
);
}
return newValue;
}