Skip to content

Glossary: Flutter

AsyncValue

Also written: when

The value you get from watching a `FutureProvider`: it is either loading, holding data, or holding an error. Its `when` method takes one function for each case and runs the one that fits.

Where the book teaches it

Related terms

FutureProviderwatchstack trace