userProfile method

Future<UserProfileModel?> userProfile(
  1. Session session
)

Returns the user profile of the authenticated user.

Implementation

Future<UserProfileModel?> userProfile(final Session session) async {
  return await AuthServices.instance.userProfiles.findUserProfileByUserId(
    session,
    authUserId,
  );
}