Flutter: currentUser

Returns the user data, if there is a signed-in user.

Examples

Get the signed-in user

final User? user = supabase.auth.currentUser;