plus method

List<T> plus(
  1. T n
)

Addes the number to each element to list and returns new list

Implementation

List<T> plus(T n) => map((item) => (item + n) as T).toList();