FutureExtensions<T> extension Null safety

Convenience methods on futures.

Adds functionality to futures which makes it easier to write well-typed asynchronous code.

on

Methods

onError<E extends Object>(FutureOr<T> handleError(E error, StackTrace stackTrace), {bool test(E error)}) Future<T>
Handles errors on this future. [...]