map<R> method

Selection<R> map<R>(
  1. R mapper(
    1. A,
    2. B
    )
)

Maps the two decoded values in Dart without changing their SQL meaning.

Implementation

Selection<R> map<R>(R Function(A, B) mapper) => _Combined(
  [$1, $2],
  (read) =>
      (row) => mapper(read[0](row) as A, read[1](row) as B),
);