getGroupType method
Will get a collection of PcoGroupsGroupType objects (expecting one)
using a path like this: https://api.planningcenteronline.com/groups/v2/groups/1/group_type
Implementation
Future<PcoCollection<PcoGroupsGroupType>> getGroupType(
{PcoGroupsGroupTypeQuery? query}) async {
query ??= PcoGroupsGroupTypeQuery();
var url = '$apiEndpoint/group_type';
return PcoCollection.fromApiCall<PcoGroupsGroupType>(url,
query: query, apiVersion: apiVersion);
}