What use case has the reload() function of a FirebaseUser in flutter?
问题 What is the method .reload() from the FirebaseUser used for? Locally the function doesn't change any data, and with Firestore.instance.currentUser() i would always get the current data, wouldn't I? From the docs: public Task reload () Manually refreshes the data of the current user (for example, attached providers, display name, and so on). So I originally thought after calling user.reload() the output would be: "name of user: bar" and not "name of user: foo". So for me it seems like it doesn