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