Maps the list elements using the provided mapper.
mapper
Returns a new list with the mapped elements of type R.
R
List<R> mapWith<R>(JMapper<T, R> mapper) => mapper.transformList(this);