bidiCast<A, B> static method

BiDi<A, B> bidiCast<A, B>()

Implementation

static BiDi<A, B> bidiCast<A, B>() => BiDi(
  forward: (a) => a as B,
  backward: (b) => b as A,
);