cast<F, S> method

  1. @override
Either<F, S> cast<F, S>()
override

Cast to new Left & Right type

Implementation

@override
Either<F, S> cast<F, S>() => Right<F, S>(value as S);