setupComplex method Null safety
Implementation
@protected
void setupComplex(List<Value>? imaginaryStack) {
final nowComplex = imaginaryStack != null;
assert(isComplexMode != nowComplex);
displayMode.setComplexMode(this, nowComplex);
_imaginaryStack = imaginaryStack;
if (nowComplex) {
_lastXImaginary = Value.zero;
} else {
_lastXImaginary = null;
}
}