menu
okay package
documentation
okay.dart
OkOrErr extension
OkOrErr extension
dark_mode
light_mode
OkOrErr<
T
>
extension
ok
and
err
have the same type
on
Result
<
T
,
T
>
Methods
okOrErr
(
)
→ T
Returns the
ok
(success) value if
type
is
ok
, and the
err
(failure) value if
type
is
err
.
okay package
documentation
okay
OkOrErr extension
okay library