Web3Result extension
Extension's InAppWebViewController JS bridge helpers on InAppWebViewController.
Methods
-
cancel(
int id) → void -
Available on InAppWebViewController, provided by the Web3Result extension
Sends aCancelederror 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