diff method

List<num> diff(
  1. List<N> other
)

Implementation

List<num> diff(List<N> other) =>
    List<num>.generate(length, (i) => this[i] - other[i]);