getDeclinedPlanTimes method
Future<PcoCollection<PcoServicesPlanTime> >
getDeclinedPlanTimes({
- PcoServicesPlanTimeQuery? query,
Will get a collection of PcoServicesPlanTime objects (expecting many)
using a path like this: https://api.planningcenteronline.com/services/v2/people/1/schedules/1/declined_plan_times
Implementation
Future<PcoCollection<PcoServicesPlanTime>> getDeclinedPlanTimes(
{PcoServicesPlanTimeQuery? query}) async {
query ??= PcoServicesPlanTimeQuery();
var url = '$apiEndpoint/declined_plan_times';
return PcoCollection.fromApiCall<PcoServicesPlanTime>(url,
query: query, apiVersion: apiVersion);
}