getSections method

Will get a collection of PcoServicesArrangementSection objects (expecting many) using a path like this: https://api.planningcenteronline.com/services/v2/songs/1/arrangements/1/sections

Implementation

Future<PcoCollection<PcoServicesArrangementSection>> getSections(
    {PcoServicesArrangementSectionQuery? query}) async {
  query ??= PcoServicesArrangementSectionQuery();
  var url = '$apiEndpoint/sections';
  return PcoCollection.fromApiCall<PcoServicesArrangementSection>(url,
      query: query, apiVersion: apiVersion);
}