range constructor

const range(
  1. int end, [
  2. int start = 0,
  3. int step = 1
])

Implementation

const range(
  this.end, [
  this.start = 0,
  this.step = 1,
]) : assert(step != 0);