menu
rust_core package
documentation
option.dart
FutureOptionExtension<T extends Object>
okOr<E extends Object> method
okOr<E extends Object> method
dark_mode
light_mode
okOr<
E extends Object
>
method
Future
<
Result
<
T
,
E
>
>
okOr
<
E extends Object
>(
E
err
)
Implementation
Future<Result<T, E>> okOr<E extends Object>(E err) { return then((option) => option.okOr(err)); }
rust_core package
documentation
option
FutureOptionExtension<T extends Object>
okOr<E extends Object> method
FutureOptionExtension extension on
FutureOption
<
T
>