menu
rust_core package
documentation
result.dart
ToOkExtension extension
ToOkExtension extension
dark_mode
light_mode
ToOkExtension<
S
>
extension
on
S
Methods
toOk
<
E extends
Object
>
(
)
→
Ok
<
S
,
E
>
Convert the object to a
Result
type
Ok
.
rust_core package
documentation
result
ToOkExtension extension
result library