getSocialProfiles method

Will get a collection of PcoPeopleSocialProfile objects (expecting many) using a path like this: https://api.planningcenteronline.com/people/v2/people/1/social_profiles

Implementation

Future<PcoCollection<PcoPeopleSocialProfile>> getSocialProfiles(
    {PcoPeopleSocialProfileQuery? query}) async {
  query ??= PcoPeopleSocialProfileQuery();
  var url = '$apiEndpoint/social_profiles';
  return PcoCollection.fromApiCall<PcoPeopleSocialProfile>(url,
      query: query, apiVersion: apiVersion);
}