menu
rust_core package
documentation
result.dart
FutureResultExtension<S, F extends Object>
unwrapOr method
unwrapOr method
dark_mode
light_mode
unwrapOr
method
Future
<
S
>
unwrapOr
(
S
defaultValue
)
Implementation
Future<S> unwrapOr(S defaultValue) { return then((result) => result.unwrapOr(defaultValue)); }
rust_core package
documentation
result
FutureResultExtension<S, F extends Object>
unwrapOr method
FutureResultExtension extension on
FutureResult
<
S
,
F
>