DiscussionBy class
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
Constructors
-
DiscussionBy({required int postId, required String author, required String permlink, required String category, required String title, required String body, required JsonMetadata jsonMetadata, required DateTime created, required DateTime lastUpdate, required int depth, required int children, required DateTime lastPayout, required DateTime cashoutTime, required String totalPayoutValue, required String pendingPayoutValue, required String curatorPayoutValue, required String promoted, required List<
String> replies, required int bodyLength, required double authorReputation, required String parentAuthor, required String parentPermlink, required String url, required String rootTitle, required List<Beneficiary> beneficiaries, required String maxAcceptedPayout, required int percentHbd, required List<ActiveVote> activeVotes}) -
const
-
DiscussionBy.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
activeVotes
→ List<
ActiveVote> -
final
-
final
-
no setter
-
final
-
beneficiaries
→ List<
Beneficiary> -
final
- body → String
-
final
- bodyLength → int
-
final
- cashoutTime → DateTime
-
final
- category → String
-
final
- children → int
-
final
- created → DateTime
-
final
- curatorPayoutValue → String
-
final
- depth → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonMetadata → JsonMetadata
-
final
- lastPayout → DateTime
-
final
- lastUpdate → DateTime
-
final
- maxAcceptedPayout → String
-
final
-
final
- parentAuthor → String
-
final
- parentPermlink → String
-
final
- pendingPayoutValue → String
-
final
- percentHbd → int
-
final
- permlink → String
-
final
- postId → int
-
final
- promoted → String
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
-
replies
→ List<
String> -
final
- rootTitle → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - title → String
-
final
- totalPayoutValue → String
-
final
- url → String
-
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.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited