getUserProfile method

Future<UserProfile?> getUserProfile()

Implementation

Future<UserProfile?> getUserProfile() async {
  final profile =  await api.getPartnerUserProfile();
  userInfo = profile;
  return profile;
}