bridgeReplyScript function

String bridgeReplyScript(
  1. String reply
)

Wraps a reply from the generated bridgeDispatch in the script the host passes to runJavaScript.

Implementation

String bridgeReplyScript(String reply) => _escapeScriptSeparators('window.__valence&&window.__valence.r($reply)');