getFunds method

Will get a collection of PcoGivingFund objects (expecting many) using a path like this: https://api.planningcenteronline.com/giving/v2/funds

Implementation

Future<PcoCollection<PcoGivingFund>> getFunds(
    {PcoGivingFundQuery? query}) async {
  query ??= PcoGivingFundQuery();
  var url = '$apiEndpoint/funds';
  return PcoCollection.fromApiCall<PcoGivingFund>(url,
      query: query, apiVersion: apiVersion);
}