setFuture abstract method
Updates the Future being tracked.
Parameters:
future: The new Future to track, can be null
Implementation
void setFuture(FutureOr<T>? future);
Updates the Future being tracked.
Parameters:
future: The new Future to track, can be nullvoid setFuture(FutureOr<T>? future);