cancelSchedulesByChannelKey method

  1. @override
Future<void> cancelSchedulesByChannelKey(
  1. String channelKey
)
override

Cancels all active schedules with the specified channelKey, without dismissing the respective notifications.

The channelKey parameter is a String that represents the unique key of the channel that the schedules belong to.

This method can be used to cancel all active schedules that belong to a specific channel, without dismissing the respective notifications.

This method returns a Future that resolves when all active schedules with the specified channel key have been cancelled.

Implementation

@override
Future<void> cancelSchedulesByChannelKey(String channelKey) {
  return AwesomeNotificationsPlatform.instance
      .cancelSchedulesByChannelKey(channelKey);
}