toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "symbol": symbol,
      "name": name,
      "asset_platform_id": assetPlatformId,
      "block_time_in_minutes": blockTimeInMinutes,
      "hashing_algorithm": hashingAlgorithm,
      "categories": List<dynamic>.from(categories.map((x) => x)),
      "public_notice": publicNotice,
      "localization": localization.toJson(),
      "description": description.toJson(),
      "links": links.toJson(),
      "image": image.toJson(),
      "country_origin": countryOrigin,
      "genesis_date": genesisDate,
      "sentiment_votes_up_percentage": sentimentVotesUpPercentage,
      "sentiment_votes_down_percentage": sentimentVotesDownPercentage,
      "market_cap_rank": marketCapRank,
      "coingecko_rank": coingeckoRank,
      "coingecko_score": coingeckoScore,
      "developer_score": developerScore,
      "community_score": communityScore,
      "liquidity_score": liquidityScore,
      "public_interest_score": publicInterestScore,
      "market_data": marketData.toJson(),
      "community_data": communityData.toJson(),
      "developer_data": developerData.toJson(),
      "public_interest_stats": publicInterestStats.toJson(),
      "status_updates": List<dynamic>.from(statusUpdates.map((x) => x)),
      "last_updated": lastUpdated.toIso8601String(),
      "tickers": List<dynamic>.from(tickers.map((x) => x.toJson())),
    };