getNoteCategorySubscriptions method

Will get a collection of PcoPeopleNoteCategorySubscription objects (expecting many) using a path like this: https://api.planningcenteronline.com/people/v2/note_category_subscriptions

Implementation

Future<PcoCollection<PcoPeopleNoteCategorySubscription>>
    getNoteCategorySubscriptions(
        {PcoPeopleNoteCategorySubscriptionQuery? query}) async {
  query ??= PcoPeopleNoteCategorySubscriptionQuery();
  var url = '$apiEndpoint/note_category_subscriptions';
  return PcoCollection.fromApiCall<PcoPeopleNoteCategorySubscription>(url,
      query: query, apiVersion: apiVersion);
}