compose<A, B, C> static method
Implementation
static BiDi<A, C> compose<A, B, C>({
required BiDi<A, B> aToB,
required BiDi<B, C> bToC,
}) =>
BiDi(
forward: (a) => bToC.forward(aToB.forward(a)),
backward: (c) => aToB.backward(bToC.backward(c)),
);