requestPermission

fun requestPermission(deprecatedCallback: (NotificationPermission) -> Unit = definedExternally): Promise<NotificationPermission>(source)

Since Kotlin

1.1