getNamePrefix method
Will get a collection of PcoPeopleNamePrefix objects (expecting many)
using a path like this: https://api.planningcenteronline.com/people/v2/people/1/name_prefix
Implementation
Future<PcoCollection<PcoPeopleNamePrefix>> getNamePrefix(
{PcoPeopleNamePrefixQuery? query}) async {
query ??= PcoPeopleNamePrefixQuery();
var url = '$apiEndpoint/name_prefix';
return PcoCollection.fromApiCall<PcoPeopleNamePrefix>(url,
query: query, apiVersion: apiVersion);
}