getCreatedBy method

Will get a collection of PcoCalendarPerson objects (expecting one) using a path like this: https://api.planningcenteronline.com/calendar/v2/event_resource_requests/1/created_by

Implementation

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