ResultCodec<R, E> constructor

const ResultCodec<R, E>(
  1. Codec<R> okCodec,
  2. Codec<E> errCodec
)

Implementation

const ResultCodec(this.okCodec, this.errCodec);