mapFirst<U> method

Tuple2<U, T2> mapFirst<U>(
  1. U f(
    1. T1
    )
)

Implementation

Tuple2<U, T2> mapFirst<U>(U Function(T1) f) => Tuple2(f(first), second);