ZipWithNext<T> extension

on
  • List<T>

Methods

zipWithNext({bool loopAround = false}) → List<Pair<T, T>>

Available on List<T>, provided by the ZipWithNext extension

Returns a list of pairs of each two adjacent elements in this list.