hasSwitchMethod method
Implementation
bool hasSwitchMethod() {
if (sessionService.noSession) {
return false;
}
if (sessionService.isCoinbase) {
return true;
}
final nsMethods = getApprovedMethods() ?? [];
final supportsAddChain = nsMethods.contains(
MethodsConstants.walletAddEthChain,
);
return supportsAddChain;
}