map<R> method

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

Converts this Record with 2 positional values to a new type R using the provided callback with 2 positional arguments.

Implementation

@inlineVm
@inlineJs
R map<R>(R Function(T1, T2) callback) => callback($1, $2);