invoke

operator fun invoke(block: PushConfiguration.() -> Unit = {}): PushConfiguration

Creates a new instance of PushConfiguration with the provided configuration block.

Example usage:

val config = PushConfiguration {
storage = MyPushStorage()
customPushHandlers = mapOf("customHandler" to MyCustomPushHandler())
}