ZipWithNext<T> extension

on
  • List<T>

Methods

zipWithNext({bool loopAround = false}) → List<Pair<T, T>>
Returns a list of pairs of each two adjacent elements in this list.