EitherLens<A, B, E> class

Inheritance

Constructors

EitherLens(Function1<A, Either<E, B>> getter, Function2<A, B, Either<E, A>> setter)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

andThen<CIn, COut>(Lens<Either<E, B>, B, CIn, COut> otherLens) Lens<A, Either<E, A>, CIn, COut>
inherited
eAndThen<C>(Lens<B, B, C, C> otherLens) EitherLens<A, C, E>
eAndThenE<C>(EitherLens<B, C, E> otherLens) EitherLens<A, C, E>
get(A a) Either<E, B>
inherited
modify(A a, Function1<Either<E, B>, B> f) Either<E, A>
inherited
modifyC(Function1<Either<E, B>, B> f) Function1<A, Either<E, A>>
inherited
modifyE(A a, Function1<B, B> f) Either<E, A>
modifyEC(Function1<B, B> f) Function1<A, Either<E, A>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(A a, B b) Either<E, A>
inherited
setC(B b) Function1<A, Either<E, A>>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited