get in firebase example Example: getting uid of user firebase flutter Click to copyfinal FirebaseUser user = await auth.currentUser(); final userid = user.uid;