getController method

Will get a collection of PcoServicesPerson objects (expecting many) using a path like this: https://api.planningcenteronline.com/services/v2/series/1/plans/1/live/1/controller

Implementation

Future<PcoCollection<PcoServicesPerson>> getController(
    {PcoServicesPersonQuery? query}) async {
  query ??= PcoServicesPersonQuery();
  var url = '$apiEndpoint/controller';
  return PcoCollection.fromApiCall<PcoServicesPerson>(url,
      query: query, apiVersion: apiVersion);
}