setDefaultChain abstract method

void setDefaultChain({
  1. Web3ModalChains? web3modalChain,
  2. Map<String, RequiredNamespace>? requiredNamespaces,
})

Sets the default chain to use for the session. web3modalChain or requiredNamespaces must be provided, if both are null this function will do nothing.

Implementation

void setDefaultChain({
  Web3ModalChains? web3modalChain,
  Map<String, RequiredNamespace>? requiredNamespaces,
});