Skip to main content
Version: v1-dev

auth.currentUser

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

final User? user = supabase.auth.currentUser;

Examples

Get the logged in user

final User? user = supabase.auth.currentUser;