toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'id': id,
    'name': name,
    'year_established': yearEstablished,
    'country': country,
    'description': description,
    'url': url,
    'image': image,
    'has_trading_incentive': hasTradingIncentive,
    'trust_score': trustScore,
    'trust_score_rank': trustScoreRank,
    'trade_volume_24h_btc': tradeVolume24hBtc,
    'trade_volume_24h_btc_normalized': tradeVolume24hBtcNormalized,
  };
}