notificationDeliveryId function

String? notificationDeliveryId(
  1. SubscriberNotification notification
)

Implementation

String? notificationDeliveryId(SubscriberNotification notification) {
  final deliveryId = notification.deliveryId;

  if (deliveryId != null && deliveryId.isNotEmpty) {
    return deliveryId;
  }

  return _opt(notification.url);
}