getUnscopedPlans method

Future<PcoCollection<PcoServicesPlan>> getUnscopedPlans({
  1. PcoServicesPlanQuery? query,
})

Will get a collection of PcoServicesPlan objects (expecting many) using a path like this: https://api.planningcenteronline.com/services/v2/service_types/1/unscoped_plans

Available Query Filters:

  • deleted

Implementation

Future<PcoCollection<PcoServicesPlan>> getUnscopedPlans(
    {PcoServicesPlanQuery? query}) async {
  query ??= PcoServicesPlanQuery();
  var url = '$apiEndpoint/unscoped_plans';
  return PcoCollection.fromApiCall<PcoServicesPlan>(url,
      query: query, apiVersion: apiVersion);
}