map<U> method

Arr<U> map<U>(
  1. U f(
    1. T
    )
)
override

Returns an array of the same size as self, with function f applied to each element in order.

Implementation

Arr<U> map<U>(U Function(T) f) {
  return Arr._(list.map(f).toList(growable: false));
}