runsOfBlock method

Iterable<RunView> runsOfBlock(
  1. int blockIndex
)

The runs of block blockIndex, possibly empty.

Implementation

Iterable<RunView> runsOfBlock(int blockIndex) {
  final start = firstRunOfBlock(blockIndex),
      end = firstRunOfBlock(blockIndex + 1);
  return Iterable.generate(end - start, (i) => runAt(start + i));
}