getBatchGroups method
Will get a collection of PcoGivingBatchGroup objects (expecting many)
using a path like this: https://api.planningcenteronline.com/giving/v2/batch_groups
Implementation
Future<PcoCollection<PcoGivingBatchGroup>> getBatchGroups(
{PcoGivingBatchGroupQuery? query}) async {
query ??= PcoGivingBatchGroupQuery();
var url = '$apiEndpoint/batch_groups';
return PcoCollection.fromApiCall<PcoGivingBatchGroup>(url,
query: query, apiVersion: apiVersion);
}