getAmountInputConfig method

Future<Map> getAmountInputConfig(
  1. String from,
  2. String to,
  3. String token,
  4. String address,
  5. String signer,
)

Implementation

Future<Map> getAmountInputConfig(String from, String to, String token,
    String address, String signer) async {
  assert(_runner != null, 'bridge not init');
  final Map res = await _runner?.evalJavascript(
      'bridge.getInputConfig("$from", "$to", "$token", "$address", "$signer")');
  return res;
}