oneRowIf function

void oneRowIf()

from dartlang.org For very simple conditions, you can write an if statement on one line of code. Here is an example:

Implementation

void oneRowIf() {
  recurse(List items) {
    //  function not used
    //  The function 'recurse' is not used
    //  TODO  null  The operand can't be null, so the condition is always true.
    //  remove, or ..
    if (items.isEmpty) return;
    // …
  }

  recurse([1, 3, 5]); //  test
}