PostInfo class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)

Constructors

PostInfo({required List<ActiveVote> activeVotes, required String? app, required String author, required double authorCurveExponent, 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, String? parentAuthor, String? parentPermlink, required int pendingToken, 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, required int voteRshares})
const
PostInfo.fromJson(Map<String, dynamic> json)
factory

Properties

activeVotes List<ActiveVote>
final
app String?
final
author String
final
authorCurveExponent double
final
authorPayoutBeneficiaries String?
final
authorperm String
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
final
pendingToken int
final
precision int
final
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scoreHot double
final
scorePromoted double
final
scoreTrend double
final
stringify bool
If set to true, the toString method will be overridden to output this instance's props.
no setter
tags String
final
title String
final
token String
final
totalPayoutValue int
final
totalVoteWeight int
final
voteRshares int
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.
inherited

Operators

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