getTeam method
Will get a collection of PcoServicesTeam objects (expecting one)
using a path like this: https://api.planningcenteronline.com/services/v2/series/1/plans/1/needed_positions/1/team
Implementation
Future<PcoCollection<PcoServicesTeam>> getTeam(
{PcoServicesTeamQuery? query}) async {
query ??= PcoServicesTeamQuery();
var url = '$apiEndpoint/team';
return PcoCollection.fromApiCall<PcoServicesTeam>(url,
query: query, apiVersion: apiVersion);
}