CombinedError<T> class final Combining results

A source failed and has no data to fall back on. retry() refetches the failed sources.

Inheritance

Properties

dataOrNull → T?
The combiner's result on a CombinedData, null otherwise.
no setterinherited
error → Object
What the first failed source threw, in record (or list) order.
final
hasData → bool
Whether this is a CombinedData: every source has data.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isError → bool
Whether this is a CombinedError: a source failed with nothing to show.
no setterinherited
isFetching → bool
Whether any source is fetching, first load or background.
no setterinherited
isPaused → bool
Whether any source is paused (QueryResult.isPaused): a fetch that wants to run but is waiting — for the network, as the source's networkMode asks, or for the app to return to the foreground before its next retry.
no setterinherited
isPending → bool
Whether this is a CombinedPending: some source has nothing to show yet.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stackTrace → StackTrace
The stack trace that came with error.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refetch({bool cancelRefetch = true}) → Future<void>
Refetches every source, as each one's own refetch does.
inherited
retry({bool cancelRefetch = true}) → Future<void>
Refetches the sources that are in error, and only those — an OptionalQueryResult.optional source whose query failed included. cancelRefetch as for refetch.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
Equal when the variant, what it carries and the fetch flags are: what a buildWhen or a ValueNotifier needs. The sources' refetch closures take no part.
inherited