saveCalculatorState method

  1. @override
  2. @mustCallSuper
Future<bool> saveCalculatorState()
override

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();
}