toJson method

Map<String, dynamic> toJson()

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,
    };