sumAllBy method

Iterable<T> sumAllBy(
  1. T number
)

Sum number to all items in the collection

Implementation

Iterable<T> sumAllBy(T number) {
  return map((element) => element + number as T);
}