toJson method
Implementation
Map<String, dynamic> toJson() => {
'publicAddress': publicAddress,
'name': name,
'url': url,
'icons':
icons != null ? List<dynamic>.from(icons!.map((x) => x)) : null,
'description': description,
"mnemonic": mnemonic,
"chainId": chainId,
"walletType": walletType,
};