saveCalculatorState method
Saves the calculator state by persisting the calculator document.
This method is called after the calculator state is modified.
Implementation
@override
@mustCallSuper
Future<bool> saveCalculatorState() async {
await persistCalculatorDocument();
return super.saveCalculatorState();
}