tabulate<U> static method

Iterable<U> tabulate<U>(
  1. int count,
  2. U on(
    1. int at
    )
)

Implementation

static Iterable<U> tabulate<U>(int count, U Function(int at) on) =>
    Iterable.generate(count, (idx) => on(idx));