getNotificationChannel

fun getNotificationChannel(defaultChannel: String?): String?(source)

Returns the notification channel that should be used when posting the notification or the default channel if its not defined.

Return

Either the notification channel or the default channel if the channel is not defined.