menu
cowpay package
documentation
core/packages/dartz/dartz.dart
EitherLens<A, B, E>
modifyE method
modifyE method
dark_mode
light_mode
modifyE
method
Either
<
E
,
A
>
modifyE
(
A
a
,
Function1
<
B
,
B
>
f
)
Implementation
Either<E, A> modifyE(A a, Function1<B, B> f) => get(a).bind((b) => set(a, f(b)));
cowpay package
documentation
core/packages/dartz/dartz
EitherLens<A, B, E>
modifyE method
EitherLens class