SimpleLens<A, B> class

Inheritance

Constructors

SimpleLens(Function1<A, B> getter, Function2<A, B, 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<B, B, CIn, COut> otherLens) Lens<A, A, CIn, COut>
inherited
andThenE<C, E>(EitherLens<B, C, E> otherLens) EitherLens<A, C, E>
andThenO<C>(OptionLens<B, C> otherLens) OptionLens<A, C>
andThenS<C>(Lens<B, B, C, C> otherLens) SimpleLens<A, C>
get(A a) → B
inherited
modify(A a, Function1<B, B> f) → A
inherited
modifyC(Function1<B, B> f) Function1<A, A>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(A a, B b) → A
inherited
setC(B b) Function1<A, A>
inherited
toString() String
A string representation of this object.
inherited

Operators

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