getCreatedBy method

Will get a collection of PcoPeoplePerson objects (expecting one) using a path like this: https://api.planningcenteronline.com/people/v2/lists/1/rules/1/conditions/1/created_by

Implementation

Future<PcoCollection<PcoPeoplePerson>> getCreatedBy(
    {PcoPeoplePersonQuery? query}) async {
  query ??= PcoPeoplePersonQuery();
  var url = '$apiEndpoint/created_by';
  return PcoCollection.fromApiCall<PcoPeoplePerson>(url,
      query: query, apiVersion: apiVersion);
}