@protected Stream<S> processCalculatorValueChange(S? state) async* { if (state != null) { await saveCalculatorState(); yield state; addComputeEvent(); } }