cancelSchedulesByGroupKey method

  1. @override
Future<void> cancelSchedulesByGroupKey(
  1. String groupKey
)
override

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

The groupKey parameter is a String that represents the unique key of the group that the schedules belong to.

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

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

Implementation

@override
Future<void> cancelSchedulesByGroupKey(String groupKey) async {
  await methodChannel.invokeMethod(
      CHANNEL_METHOD_CANCEL_SCHEDULES_BY_GROUP_KEY, groupKey);
}