Flutter: Retrieve a user

Get user by id.

Examples

Fetch the user object using the access_token jwt

final res = await supabase.auth.admin.getUserById(userId);
final user = res.user;