getAttachments method
Will get a collection of PcoServicesAttachment objects (expecting many)
using a path like this: https://api.planningcenteronline.com/services/v2/service_types/1/plans/1/items/1/attachments
Implementation
Future<PcoCollection<PcoServicesAttachment>> getAttachments(
{PcoServicesAttachmentQuery? query}) async {
query ??= PcoServicesAttachmentQuery();
var url = '$apiEndpoint/attachments';
return PcoCollection.fromApiCall<PcoServicesAttachment>(url,
query: query, apiVersion: apiVersion);
}