extendFirst<Z> method

Tuple2<Z, T2> extendFirst<Z>(
  1. Z f(
    1. Tuple2<T1, T2> t
    )
)

Convert the first value of the Tuple2 from T1 to Z using f.

Implementation

Tuple2<Z, T2> extendFirst<Z>(Z Function(Tuple2<T1, T2> t) f) =>
    Tuple2(f(this), _value2);