map<TR> method

  1. @override
Either<L, TR> map<TR>(
  1. TR fnR(
    1. R right
    )
)
override

Transform value of Right

Implementation

@override
Either<L, TR> map<TR>(TR Function(R right) fnR) {
  return Right<L, TR>(fnR(value));
}