selectedChain property

  1. @override
ReownAppKitModalNetworkInfo? get selectedChain
override

The currently selected chain.

Implementation

@override
ReownAppKitModalNetworkInfo? get selectedChain {
  if (_currentSelectedChainId != null) {
    return ReownAppKitModalNetworks.getNetworkById(
      CoreConstants.namespace,
      _currentSelectedChainId!,
    );
  }
  return null;
}