Discussion class
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
Constructors
-
Discussion({required List<
ActiveVote> activeVotes, required String? app, required String author, required double authorCurveExponent, required String authorPayoutBeneficiaries, required String authorperm, required int beneficiariesPayoutValue, required int block, required DateTime cashoutTime, required int children, required DateTime created, required int curatorPayoutValue, required bool declinePayout, required String desc, required bool hive, required String jsonMetadata, required DateTime lastPayout, required DateTime lastUpdate, required bool mainPost, required bool muted, required String parentAuthor, required String parentPermlink, required int pendingToken, required String permlink, required int precision, required int promoted, required double scoreHot, required double scorePromoted, required double scoreTrend, required String tags, required String title, required String token, required int totalPayoutValue, required int totalVoteWeight, }) -
const
-
Discussion.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
activeVotes
→ List<
ActiveVote> -
final
- app → String?
-
final
-
final
-
final
-
final
-
final
- beneficiariesPayoutValue → int
-
final
- block → int
-
final
- cashoutTime → DateTime
-
final
- children → int
-
final
- created → DateTime
-
final
- curatorPayoutValue → int
-
final
- declinePayout → bool
-
final
- desc → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hive → bool
-
final
- jsonMetadata → String
-
final
- lastPayout → DateTime
-
final
- lastUpdate → DateTime
-
final
- mainPost → bool
-
final
- muted → bool
-
final
- parentAuthor → String
-
final
- parentPermlink → String
-
final
- pendingToken → int
-
final
- permlink → String
-
final
- precision → int
-
final
- promoted → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scoreHot → double
-
final
- scorePromoted → double
-
final
- scoreTrend → double
-
final
-
final
- title → String
-
final
- token → String
-
final
- totalPayoutValue → int
-
final
- totalVoteWeight → int
-
final
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- empty → Discussion
-
final