toNotificationEvent
fun NotificationMessage.toNotificationEvent(base64EncodedData: String? = this.context, receivedTimestamp: Long = System.currentTimeMillis(), sentTimestamp: Long = System.currentTimeMillis()): NotificationEvent
Extension function to create a PushReceivedEvent from a NotificationMessage Parses a Base64 encoded string to extract source, destination, mid, and tenantid