Retrieve a user
Get user by id.
- Fetches the user object from the database based on the user's id.
- The
getUserById()
method requires the user's id which maps to theauth.users.id
column.
final res = await supabase.auth.admin.getUserById(userId);
final user = res.user;