isComplexMode property Null safety
inherited
Implementation
bool get isComplexMode => _imaginaryStack != null;
override
Implementation
@override
set isComplexMode(bool v) {
if (v && !isComplexMode) {
memory.policy.checkAvailable(5);
// Might throw CalculatorError
}
if (v != isComplexMode) {
setupComplex(
v ? List<Value>.filled(4, Value.zero, growable: false) : null);
}
super.setFlag(8, v);
}