Vote constructor

const Vote({
  1. required int id,
  2. required String voter,
  3. required String author,
  4. required String permlink,
  5. required int weight,
  6. required int rshares,
  7. required int votePercent,
  8. required DateTime lastUpdate,
  9. required int numChanges,
})

Implementation

const Vote({
  required this.id,
  required this.voter,
  required this.author,
  required this.permlink,
  required this.weight,
  required this.rshares,
  required this.votePercent,
  required this.lastUpdate,
  required this.numChanges,
});