setFlag method Null safety

  1. @override
void setFlag(
  1. int i,
  2. bool v
)
override

Implementation

@override
void setFlag(int i, bool v) {
  if (i == 8) {
    isComplexMode = v;
  } else {
    super.setFlag(i, v);
  }
}