cancelPushNotificationForMessage static method
Cancels a push notification for the message passed. @param message The message for which cancel the push.
Implementation
static Future<void> cancelPushNotificationForMessage(
MBMessage message) async {
String identifier = _notificationIdentifierForMessage(message);
await MBAutomationFlutterPlugin.cancelLocalNotification(id: identifier);
await _unsetMessageShowDate(message);
await _unsetMessageShowed(message);
}