getForm method

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

Implementation

Future<PcoCollection<PcoPeopleForm>> getForm(
    {PcoPeopleFormQuery? query}) async {
  query ??= PcoPeopleFormQuery();
  var url = '$apiEndpoint/form';
  return PcoCollection.fromApiCall<PcoPeopleForm>(url,
      query: query, apiVersion: apiVersion);
}