postNotification

abstract fun postNotification(event: String, userInfo: ERROR CLASS: Symbol not found for js.objects.ReadonlyRecord<kotlin/String, kotlin/Any?>, deliverImmediately: Boolean = definedExternally)(source)

Posts event as native notifications of macOS. The userInfo is an Object that contains the user information dictionary sent along with the notification.