map<R> method

  1. @preferInline
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

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