getUserById method
Get a user by their ID
Example:
final user = await db.auth.getUserById('user-123');
print('User: ${user.email}');
Implementation
Future<AppUser> getUserById(String userId) async {
final response = await _request<Map<String, dynamic>>(
'GET',
'/auth-collections/users/$userId',
);
return AppUser.fromJson(response);
}