AsyncSequenceLoop constructor

AsyncSequenceLoop(
  1. int init,
  2. int limit,
  3. FutureOr<bool> body(
    1. int i
    )
)

Constructor.

  • init is the initial value of i.

Implementation

AsyncSequenceLoop(int init, this.limit, this.body)
    :
      // ignore: prefer_initializing_formals
      i = init;