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