menu
bitapp_functional_dart package
documentation
bitapp_functional_dart.dart
Validation<T>
map<R> method
map<R> method
dark_mode
light_mode
map<
R
>
method
Validation
<
R
>
map
<
R
>(
R
f
(
T
val
)
)
Implementation
Validation<R> map<R>(R Function(T val) f) => fold((err) => Invalid<R>(err), (v) => Valid(f(v)));
bitapp_functional_dart package
documentation
bitapp_functional_dart
Validation<T>
map<R> method
Validation class