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