getLists method

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

Implementation

Future<PcoCollection<PcoPeopleList>> getLists(
    {PcoPeopleListQuery? query}) async {
  query ??= PcoPeopleListQuery();
  var url = '$apiEndpoint/lists';
  return PcoCollection.fromApiCall<PcoPeopleList>(url,
      query: query, apiVersion: apiVersion);
}