onResponse

abstract fun onResponse(response: JsCallbackData)

Method to send a response back to the JS code. Takes a JsCallbackData and uses it to create the response and send it.