setDefaultChain method
void
setDefaultChain({})
override
Sets the required namespaces that will be used when connecting to the wallet The default is set to the NamespaceConstants.ethereum namespace.
Implementation
@override
void setDefaultChain({
required Map<String, RequiredNamespace> requiredNamespaces,
}) {
_checkInitialized();
LoggerUtil.logger.i('Setting default chain: $requiredNamespaces');
_requiredNamespaces = requiredNamespaces;
notifyListeners();
}