refetchOnResume property

bool refetchOnResume
final

Whether to refetch stale data when resuming from background

When true, queries will automatically refetch if data is stale when the app returns to foreground. Works in conjunction with autoPauseOnBackground.

Default: false (opt-in)

Implementation

final bool refetchOnResume;