cancelNotificationsByChannelKey abstract method

Future<void> cancelNotificationsByChannelKey(
  1. String channelKey
)

Cancels all active notifications and schedules with the specified channelKey.

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

This method can be used to cancel all active notifications and schedules that belong to a specific channel.

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

Implementation

Future<void> cancelNotificationsByChannelKey(String channelKey);