fail method Null safety

  1. @override
void fail()
override

Implementation

@override
fail() {
  throw CalculatorError(8);
}