FutureX<T> extension
- on
-
- Future<
T>
- Future<
Methods
-
ignoreError(
) → Future< T?> - Ignores any error that occurs during the future execution. Usage: fetchData().ignoreError()
-
result(
{void onSuccess(T data)?, void onError(Object error)?}) → Future< T> -
Available on Future<
ExecutesT> , provided by the FutureX extensiononSuccessif the future completes successfully, andonErrorif it fails.