getWorkflowCards method

Will get a collection of PcoPeopleWorkflowCard objects (expecting many) using a path like this: https://api.planningcenteronline.com/people/v2/people/1/workflow_cards

Available Query Filters:

  • assigned

Implementation

Future<PcoCollection<PcoPeopleWorkflowCard>> getWorkflowCards(
    {PcoPeopleWorkflowCardQuery? query}) async {
  query ??= PcoPeopleWorkflowCardQuery();
  var url = '$apiEndpoint/workflow_cards';
  return PcoCollection.fromApiCall<PcoPeopleWorkflowCard>(url,
      query: query, apiVersion: apiVersion);
}