currentUser

Returns the user data, if there is a logged in user.

1final User? user = supabase.auth.currentUser;

Examples#

Get the logged in user#

1final User? user = supabase.auth.currentUser;