diff method

List<N> diff(
  1. List<N> otherValues
)

Returns the differences of this instances values to otherValues.

Implementation

List<N> diff(List<N> otherValues) => List.generate(
    otherValues.length, (i) => toN(getValue(i) - otherValues[i]));