firebase flutter how to get user as future code example
Example 1: getting uid of user firebase flutter
final FirebaseUser user = await auth.currentUser();
final userid = user.uid;
Example 2: firebase user profile flutter
class StartUpViewModel extends BaseModel {}