getTagGroups method

Will get a collection of PcoServicesTagGroup objects (expecting many) using a path like this: https://api.planningcenteronline.com/services/v2/tag_groups

Available Query Filters:

  • arrangement
  • media
  • person
  • song

Implementation

Future<PcoCollection<PcoServicesTagGroup>> getTagGroups(
    {PcoServicesTagGroupQuery? query}) async {
  query ??= PcoServicesTagGroupQuery();
  var url = '$apiEndpoint/tag_groups';
  return PcoCollection.fromApiCall<PcoServicesTagGroup>(url,
      query: query, apiVersion: apiVersion);
}