getRequiredApprovals method

Will get a collection of PcoCalendarRequiredApproval objects (expecting many) using a path like this: https://api.planningcenteronline.com/calendar/v2/resources/1/required_approvals

Implementation

Future<PcoCollection<PcoCalendarRequiredApproval>> getRequiredApprovals(
    {PcoCalendarRequiredApprovalQuery? query}) async {
  query ??= PcoCalendarRequiredApprovalQuery();
  var url = '$apiEndpoint/required_approvals';
  return PcoCollection.fromApiCall<PcoCalendarRequiredApproval>(url,
      query: query, apiVersion: apiVersion);
}