checkStartRunning method Null safety
override
Called from startRunningProgram in order to see if it's OK to start running. Throws CalculatorError if not. This is called as part of a solve or integrate operation that is executed in a program. Not called when solve/integrate is entered from the keyboard.
Implementation
@override
@mustCallSuper
void checkStartRunning() {
final p = caller.model.memory as Memory15;
if (p.availableRegistersWithProgram(this) < 0) {
throw CalculatorError(10);
}
}