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