Change the value of Either from type R to type Z based on the value of Either<L, R> using function f.
R
Z
Either<L, R>
f
@override Either<L, Z> extend<Z>(Z Function(Either<L, R> t) f) => Either.of(f(this));