Loop.builder constructor

Loop.builder(
  1. Step? build(
    1. int index
    ),
  2. int length
)

Constructs a Loop by it's length and builder. Closes the loop whenever the build function returns null.

Implementation

Loop.builder(this.build, this.length);