BiDi<A, B> constructor
BiDi<A, B> ({
- required B forward(
- A a
- required A backward(
- B b
Implementation
factory BiDi({
required B Function(A a) forward,
required A Function(B b) backward,
}) = _BiDiImpl;