-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
Thought there was a lot of good stuff in this repo. I've been looking at this one line for a while and curious how it works. You stopped just short of explaining this in your medium article.
In this line databaseBuilder: (_, uid) => FirestoreDatabase(uid: uid), I understand that FirestoreDatabase takes a named parameter called uid, and that the value for that is coming from (_, uid). What I'm not following is where the uid for (_, uid) is actually created and emitted in the first place.
If you have any insights I would appreciate it.
Thanks!
create_flutter_provider_app/lib/main.dart
Line 34 in 8479c6f
| databaseBuilder: (_, uid) => FirestoreDatabase(uid: uid), |
arturjnt and vijinvv
Metadata
Metadata
Assignees
Labels
No labels