showCalculatorError method Null safety

  1. @override
void showCalculatorError(
  1. CalculatorError e,
  2. StackTrace? stack
)
override

Show an error on the LCD screen.

Implementation

@override
void showCalculatorError(CalculatorError e, StackTrace? stack) =>
    pendingError = e;