bimap<A1, B1> method
Map the values A
to A1
and B
to B1
with the a
and b
mappers,
respectively.
Implementation
@override
Tuple<A1, B1> bimap<A1, B1>({
required A1 Function(A) a,
required B1 Function(B) b,
}) =>
Tuple(a(left), b(right));