FutureX<T> extension
Utility extensions on Future.
- on
-
- Future<
T>
- Future<
Methods
-
catchErrorOnly(
void onError(Object? error), {bool test(Object error)?}) → Future< T> - Handles errors emitted by this Future.
-
catchTrace(
void onError(Object? error, StackTrace trace), {bool test(Object error)?}) → Future< T> - Handles errors, and provides the stack trace emitted by this Future.