plus method
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();
Addes the number to each element to list and returns new list
List<T> plus(T n) => map((item) => (item + n) as T).toList();