update method
void
update()
Re-computes, and notifies when the answer changed.
Implementation
void update() {
final now = _compute();
if (now == _last) return;
_last = now;
notifyListeners();
}
Re-computes, and notifies when the answer changed.
void update() {
final now = _compute();
if (now == _last) return;
_last = now;
notifyListeners();
}