menu
super_utils package
documentation
super_utils.dart
FutureExt extension
FutureExt extension
dark_mode
light_mode
FutureExt<
T
>
extension
Extension on Future
on
Future
<
T
>
Methods
result
<
O extends
Object
>
(
void
onError
(
O
e
),
void
onSuccess
(
T
s
), [
void
onComplete
()?
])
→
Future
<
void
>
Available on
Future
<
T
>
, provided by the
FutureExt
extension
An extension method for handling the result of a
Future
with success and error callbacks.
super_utils package
documentation
super_utils
FutureExt extension
super_ext library