map<S> method
Returns a read-only view on this Vector with all its elements lazily
converted by calling the provided transformation callback
.
Implementation
Vector<S> map<S>(S Function(int index, T value) callback,
[DataType<S>? dataType]) =>
transform<S>(callback, dataType: dataType);