getGroupTypes method
Will get a collection of PcoGroupsGroupType objects (expecting many)
using a path like this: https://api.planningcenteronline.com/groups/v2/group_types
Available Query Filters:
church_center_visible
not_church_center_visible
Implementation
Future<PcoCollection<PcoGroupsGroupType>> getGroupTypes(
{PcoGroupsGroupTypeQuery? query}) async {
query ??= PcoGroupsGroupTypeQuery();
var url = '$apiEndpoint/group_types';
return PcoCollection.fromApiCall<PcoGroupsGroupType>(url,
query: query, apiVersion: apiVersion);
}