onError method Null safety

void onError(
  1. CalculatorError err
)

Called when the program stops due to a CalculatorError

Implementation

void onError(CalculatorError err) {}