getGroup method

Will get a collection of PcoGroupsGroup objects (expecting one) using a path like this: https://api.planningcenteronline.com/groups/v2/groups/1/memberships/1/group

Implementation

Future<PcoCollection<PcoGroupsGroup>> getGroup(
    {PcoGroupsGroupQuery? query}) async {
  query ??= PcoGroupsGroupQuery();
  var url = '$apiEndpoint/group';
  return PcoCollection.fromApiCall<PcoGroupsGroup>(url,
      query: query, apiVersion: apiVersion);
}