getFormFields method

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

Implementation

Future<PcoCollection<PcoPeopleFormField>> getFormFields(
    {PcoPeopleFormFieldQuery? query}) async {
  query ??= PcoPeopleFormFieldQuery();
  var url = '$apiEndpoint/form_fields';
  return PcoCollection.fromApiCall<PcoPeopleFormField>(url,
      query: query, apiVersion: apiVersion);
}