msPerInstruction property Null safety
How long do we want an instruction to take when running a program? Note that number keys run about 5x faster than this.
Implementation
double get msPerInstruction => _msPerInstruction ?? _msPerInstructionDefault;
Implementation
set msPerInstruction(double? msPerInstruction) {
if (msPerInstruction == _msPerInstructionDefault) {
msPerInstruction = null;
}
_msPerInstruction = msPerInstruction;
_model.needsSave = true;
}