clearCalculatorState method

  1. @protected
Future<S> clearCalculatorState()

Clears the calculator state and sets it to the default state.

Returns a future of the cleared state of type S.

Implementation

@protected
Future<S> clearCalculatorState() async => defaultCalculatorState;