map<R> method

  1. @inlineVm
  2. @inlineJs
R map<R>(
  1. R callback(
    1. T1,
    2. T2
    )
)

Converts this sequence to a new type R with the provided callback.

Implementation

@inlineVm
@inlineJs
R map<R>(R Function(T1, T2) callback) => callback(first, second);