getChainName static method

String getChainName({
  1. required EvmChain chaintype,
})

if the chaintype isn't found, getChainName will return an empty string ('').

Implementation

static String getChainName({required EvmChain chaintype}) {
  return _chainDetails[chaintype]?.name ?? '';
}