getResourceQuestions method

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

Implementation

Future<PcoCollection<PcoCalendarResourceQuestion>> getResourceQuestions(
    {PcoCalendarResourceQuestionQuery? query}) async {
  query ??= PcoCalendarResourceQuestionQuery();
  var url = '$apiEndpoint/resource_questions';
  return PcoCollection.fromApiCall<PcoCalendarResourceQuestion>(url,
      query: query, apiVersion: apiVersion);
}