approve method
Approve the session.
Implementation
void approve(Map<String, dynamic> params) {
connected = true;
chainId = params['chainId'] ?? chainId;
accounts = params['accounts']?.cast<String>() ?? accounts;
peerId = params['peerId'] ?? peerId;
peerMeta = params.containsKey('peerMeta')
? PeerMeta.fromJson(params['peerMeta'])
: peerMeta;
}