setChainInfo static method

Future<bool> setChainInfo(
  1. ChainInfo chainInfo
)

Implementation

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