second<B1> method

  1. @override
Tuple<A, B1> second<B1>(
  1. B1 fn(
    1. B p1
    )
)
inherited

Map the right B value into an B1 with the fn mapper, while keeping the left value untouched.

Implementation

@override
Tuple<A, B1> second<B1>(B1 Function(B p1) fn) => bimap(a: _identity, b: fn);