FetchPackagesProvider
vs fetchPackagesProvider
- which one to use?
#3625
Unanswered
vasilich6107
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@rrousselGit could you take a look |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. It is a rear case when we look inside generated code.
Recently I discovered that in generated file we have 2 entities
FetchPackagesProvider
andfetchPackagesProvider
riverpod/examples/pub/lib/search.g.dart
Line 36 in 8eea37b
riverpod/examples/pub/lib/search.g.dart
Line 80 in 8eea37b
They both exposed publicly so there is probably a case when I should prefer one over another.
In examples we are using
fetchPackagesProvider
riverpod/examples/pub/lib/search.dart
Line 70 in 8eea37b
So what is the difference between them?(I was not able to find an answer in public sources)
Beta Was this translation helpful? Give feedback.
All reactions