Web3Result extension

Extension's InAppWebViewController JS bridge helpers on InAppWebViewController.

on

Methods

cancel(int id) → void

Available on InAppWebViewController, provided by the Web3Result extension

Sends a Canceled error to the dApp.
sendError(String error, int id) → void

Available on InAppWebViewController, provided by the Web3Result extension

send error to dapp – safely jsonEncode to avoid injection
sendResult(String result, int id) → void

Available on InAppWebViewController, provided by the Web3Result extension

send result to dapp
sendResults(List<String> results, int id) → void

Available on InAppWebViewController, provided by the Web3Result extension

send string list result to dapp
setAddress(String address, int id) → void

Available on InAppWebViewController, provided by the Web3Result extension

set address connect to dapp