Vote class

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

Constructors

Vote({required int id, required String voter, required String author, required String permlink, required int weight, required int rshares, required int votePercent, required DateTime lastUpdate, required int numChanges})
const
Vote.fromJson(Map<String, dynamic> json)
factory

Properties

author → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
final
lastUpdate → DateTime
final
numChanges → int
final
final
rshares → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
votePercent → int
final
voter → String
final
weight → 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.
override

Operators

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