getAttachments method

Will get a collection of PcoServicesAttachment objects (expecting many) using a path like this: https://api.planningcenteronline.com/services/v2/songs/1/arrangements/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);
}