def apply()

in notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/fcm/models/payload/FcmPayloadBuilder.scala [35:42]


    def apply(notification: Notification, debug: Boolean): Option[FirebaseAndroidNotification] = notification match {
      case n: BreakingNewsNotification => Some(breakingNewsAndroidNotification(n, debug))
      case n: ContentNotification => Some(contentAndroidNotification(n, debug))
      case n: FootballMatchStatusNotification => Some(footballMatchStatusAndroidNotification(n))
      case n: EditionsNotification => Some(editionsAndroidNotification(n))
      case n: Us2020ResultsNotification => Some(us2020ResultsNotification(n))
      case _ => None
    }