handleOpBeforeCalculate method Null safety

  1. @override
void handleOpBeforeCalculate(
  1. Model<ProgramOperation> m,
  2. void opBeforeCalculate(
      )
    )
    override

    Execute the beforeCalculate function of the operation. Normally it just executes, but some 15C operations can be deferred; this method can be overridden to do that.

    Implementation

    @override
    void handleOpBeforeCalculate(Model m, void Function() opBeforeCalculate) {
      // Do nothing - don't lift the stack, as per page 44.  Note that
      // stack lift is enabled after the calculation completes, via the
      // normal op.stackLift mechanism.
    }