Optional
onLoad: (() => void)Optional
onDeleted: (() => void)Indicates if the future is in a state where the underlying request can be executed
The value of Future if the future is in the Data state, otherwise undefined
True if the Future is in the Empty state, otherwise false
The error given if the Future is in the Error state, otherwise undefined
True if the Future is in the Error state, otherwise false
True if the Future is in the Loading state, otherwise false
The value of the Future if one is currently given, otherwise undefined
The state of the Future
The value of the Future. Won't emit until a value is present
True if the Future is in the Loading or Empty state, otherwise false
A class for handling dynamic values and tracking an error / loading state. Unlike a LoadingState this structure handles values that change, and can re-enter the loading state.