menu
bitapp_functional_dart package
documentation
bitapp_functional_dart.dart
FutureOption
getOrElse<T> method
getOrElse<T> method
dark_mode
light_mode
getOrElse<
T
>
method
Future
<
T
>
getOrElse
<
T
>(
T
defaultVal
)
Implementation
Future<T> getOrElse<T>(T defaultVal) => fold(() => defaultVal, (some) => some! as T);
bitapp_functional_dart package
documentation
bitapp_functional_dart
FutureOption
getOrElse<T> method
FutureOption extension on
Future
<
Option
>