bimap<E2, A2> method

StreamEitherBuilder<E2, A2> bimap<E2, A2>({
  1. required E2 left(
    1. E
    ),
  2. required A2 right(
    1. A
    ),
})

Implementation

StreamEitherBuilder<E2, A2> bimap<E2, A2>({
  required E2 Function(E) left,
  required A2 Function(A) right,
}) =>
    StreamEitherBuilder(
      SE.bimap(
        right: right,
        left: left,
      )(_f),
    );