refetch method
Explicitly revalidate the first page with the bounded retry policy.
Implementation
Future<void> refetch() async {
state = const AsyncValue.loading();
final graph = ref.read(entityGraphProvider);
state = await AsyncValue.guard(() async {
await _runWithRetry(() => _doFetch(graph));
return _buildSnapshot(graph);
});
}