how to get current user id in of firebsae auth in flutter code example
Example: getting uid of user firebase flutter
final FirebaseUser user = await auth.currentUser();
final userid = user.uid;
final FirebaseUser user = await auth.currentUser();
final userid = user.uid;