integers function

Iterable<int> integers({
  1. int from = 0,
})

Implementation

Iterable<int> integers({int from = 0}) sync* {
  while (true) {
    yield from++;
  }
}