TaskEither<L, R>.right constructor
- R right
Build a TaskEither that returns a Right(right)
.
Same of TaskEither.of
.
Implementation
factory TaskEither.right(R right) => TaskEither(() async => Either.of(right));
Build a TaskEither that returns a Right(right)
.
Same of TaskEither.of
.
factory TaskEither.right(R right) => TaskEither(() async => Either.of(right));