clearCalculatorState method
Clears the calculator state by clearing the calculator document.
This method is called when the calculator state needs to be reset.
Implementation
@override
@mustCallSuper
Future<S> clearCalculatorState() async {
await clearCalculatorDocument();
document = await retrieveCalculatorDocument();
return super.clearCalculatorState();
}