Content class abstract

Implementers

Constructors

Content({required int id, required String author, required String permlink, required String category, required String title, required String body, int depth = 0, required JsonMetadata jsonMetadata, required DateTime created, required DateTime? updated, required int numChildren, required int netRshares, required double authorReputation, required PostStats stats, required String url, required List<Beneficiary> beneficiaries, required String maxAcceptedPayout, required Map<String, int> upvotes, required Map<String, int> downvotes, String? community = '', String? communityTitle = '', required int tribePendingToken, required int tribePrecision, required String tribeToken, required bool tribeIsMuted, required double tribeScoreHot, required double tribeScorePromoted, required double tribeScoreTrend, required int tribeTotalPayoutValue, required int tribeTotalVoteWeight, required int tribeVoteRshares, required Map<String, double> tribeUpvotes, required Map<String, double> tribeDownvotes})
const

Properties

author String
final
authorperm Authorperm
no setter
authorReputation double
final
beneficiaries List<Beneficiary>
final
body String
final
category String
final
community String?
final
communityTitle String?
final
created DateTime
final
depth int
final
downvotes Map<String, int>
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
jsonMetadata JsonMetadata
final
maxAcceptedPayout String
final
netRshares int
final
numChildren int
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stats PostStats
final
summary String
no setter
title String
final
tribeDownvotes Map<String, double>
final
tribeIsMuted bool
final
tribePendingToken int
final
tribePrecision int
final
tribeScoreHot double
final
tribeScorePromoted double
final
tribeScoreTrend double
final
tribeToken String
final
tribeTotalPayoutValue int
final
tribeTotalVoteWeight int
final
tribeUpvotes Map<String, double>
final
tribeVoteRshares int
final
updated DateTime?
final
upvotes Map<String, int>
final
url String
final

Methods

didDownvote(String? username) bool
didUpvote(String? username) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
tribeDidDownvote(String? username) bool
tribeDidUpvote(String? username) bool

Operators

operator ==(Object other) bool
The equality operator.
inherited