getMedia method

Will get a collection of PcoServicesMedia objects (expecting many) using a path like this: https://api.planningcenteronline.com/services/v2/service_types/1/plans/1/items/1/media

Implementation

Future<PcoCollection<PcoServicesMedia>> getMedia(
    {PcoServicesMediaQuery? query}) async {
  query ??= PcoServicesMediaQuery();
  var url = '$apiEndpoint/media';
  return PcoCollection.fromApiCall<PcoServicesMedia>(url,
      query: query, apiVersion: apiVersion);
}