selectedChain property
The currently selected chain.
Implementation
@override
ReownAppKitModalNetworkInfo? get selectedChain {
if (_currentSelectedChainId != null) {
final namespace = ReownAppKitModalNetworks.getNamespaceForChainId(
_currentSelectedChainId!,
);
return ReownAppKitModalNetworks.getNetworkById(
namespace,
_currentSelectedChainId!,
);
}
return null;
}