toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'chainNamespace': chainNamespace.name,
'decimals': decimals,
'blockExplorerUrl': blockExplorerUrl,
'chainId': chainId,
'displayName': displayName,
'logo': logo,
'rpcTarget': rpcTarget,
'ticker': ticker,
'tickerName': tickerName
};
}