addListener method
Adds a listener to be notified when the computed value changes.
The computation is triggered before adding the listener, so that the listener can be notified of the initial value.
Implementation
@override
void addListener(VoidCallback listener) {
value;
super.addListener(listener);
}