notify method
Notify this object to propagate changes.
Implementation
@override
void notify() {
if (!isActive) {
return;
}
// Notify all subs and remove invalid subs
// TODO: performance?
subs.removeWhere((element) {
element.notifyCallback(value);
return !element.isValid;
});
}