setChainInfoAsync static method

Future<bool> setChainInfoAsync(
  1. ChainInfo chainInfo
)

Implementation

static Future<bool> setChainInfoAsync(ChainInfo chainInfo) async {
  return await _channel.invokeMethod(
      'setChainInfoAsync',
      jsonEncode({
        "chain_name": chainInfo.chainName,
        "chain_id_name": chainInfo.chainIdName,
        "chain_id": chainInfo.chainId,
      }));
}