getBatchGroup method

Will get a collection of PcoGivingBatchGroup objects (expecting one) using a path like this: https://api.planningcenteronline.com/giving/v2/batches/1/batch_group

Implementation

Future<PcoCollection<PcoGivingBatchGroup>> getBatchGroup(
    {PcoGivingBatchGroupQuery? query}) async {
  query ??= PcoGivingBatchGroupQuery();
  var url = '$apiEndpoint/batch_group';
  return PcoCollection.fromApiCall<PcoGivingBatchGroup>(url,
      query: query, apiVersion: apiVersion);
}