menu
bitapp_functional_dart package
documentation
bitapp_functional_dart.dart
FutureOption
map<R, T> method
map<R, T> method
dark_mode
light_mode
map<
R
,
T
>
method
Future
<
Option
<
R
>
>
map
<
R
,
T
>(
R
f
(
T
t
)
)
Implementation
Future<Option<R>> map<R, T>(R Function(T t) f) => fold(() => None(), (v) => Some(f(v! as T)));
bitapp_functional_dart package
documentation
bitapp_functional_dart
FutureOption
map<R, T> method
FutureOption extension on
Future
<
Option
>