doNextIf method Null safety

void doNextIf(
  1. bool condition
)

Implementation

void doNextIf(bool condition) {
  if (!condition) {
    incrementCurrentLine();
  }
}