getSongSchedules method
Future<PcoCollection<PcoServicesSongSchedule> >
getSongSchedules({
- PcoServicesSongScheduleQuery? query,
Will get a collection of PcoServicesSongSchedule objects (expecting many)
using a path like this: https://api.planningcenteronline.com/services/v2/songs/1/song_schedules
Available Query Filters:
three_most_recent
Implementation
Future<PcoCollection<PcoServicesSongSchedule>> getSongSchedules(
{PcoServicesSongScheduleQuery? query}) async {
query ??= PcoServicesSongScheduleQuery();
var url = '$apiEndpoint/song_schedules';
return PcoCollection.fromApiCall<PcoServicesSongSchedule>(url,
query: query, apiVersion: apiVersion);
}